You can set the system property -Djavax.net.debug=ssl:handshake when starting your Java application
-Djavax.net.debug=ssl:handshake
For example you can run this in the command line
java -Djavax.net.debug=ssl:handshake -jar jarName.jar