Java and SSL
Java comes with classes enabling SSL and the ability to connect via HTTPS. Take a look at the javax.net.ssl packages.
Debugging
Section titled “Debugging”Set the system property javax.net.debug=all
This will cause a lot of debug messages to be logged.