How do I avoid the \"javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated\" exception and the Android Apache lib gap \"The constructor SSLSocketFactory(SSLContex
I had similar problem which is more like this question but the root cause was completely different from those mentioned in both questions.
I was using DefaultHttpClient as httpclient for requesting https://maps.googleapis.com like links. I was trying whole banch of proposed solutions but none worked for me. After some more hours trying to solve it found root cause: My device was connected to a guest WIFI which probably has some specific filtering rules which blocked relevant network parts. Switching to a different network solved my problem.