'No peer certificate' error in Android 2.3 but NOT in 4

前端 未结 5 1574
走了就别回头了
走了就别回头了 2020-11-30 01:15

Getting the \"javax.net.ssl.SSLPeerUnverifiedException: No peer certificate error\" in an emulator running Android 2.3 but NOT in 4. In 4 it works perfectly. I\

5条回答
  •  温柔的废话
    2020-11-30 02:06

    What certificates are you loading from R.raw.my_cert? This error either speaks to having a misconfigured server -- not installing Thawte's primary and secondary intermediate CAs -- or you not loading and trusting the correct certificate chain.

提交回复
热议问题