Monday, October 15, 2012

SSLPeerUnverifiedException: peer not authenticated

Curious why are you getting this exception?

Exception in thread "main" javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)

Enable debug :)
-Djavax.net.debug=all