Skip to content Skip to sidebar Skip to footer

Error Javax.net.ssl.sslpeerunverifiedexception: No Peer Certificate And Sslnullsession.java:104

I'm facing this error javax.net.ssl.SSLPeerUnverifiedException: No peer certificate on android version lower than Marshmallow when I use https to connect the server and I'm getting

Solution 1:

The server you connected to doesn't have a great SSL certificate. A quick search to StackOverflow forwarded me to this great question and answers: Safely fixing: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate

Solution 2:

The server you are trying to connect is not authorized. You will have to do SSL pinning, download the SSL Certificate signed by any CA.

Post a Comment for "Error Javax.net.ssl.sslpeerunverifiedexception: No Peer Certificate And Sslnullsession.java:104"