Debugging SSL in Spring

System.setProperty("javax.net.debug", "ssl:handshake");