An SSL Relay Program

Remember the Relay program from Chapter 31, "Proxies and Relays" ? With a few quick changes, you can use it to relay an SSL connection to a non-SSL connection. For example, if you have a Web server that doesn't support secure connections, you can set up the relay to forward SSL connections to your Web browser. By now, you already know the drill. You just change the way you create the ServerSocket and you're done.

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.