android 屏蔽证书验证 CertPathValidatorException: Trust anchor for certification path not found
android 使用https时 证书如果是用来测试的会爆出下面问题:
javax.net.ssl.SSLHandshakeException:
java.security.cert.CertPathValidatorException:
Trust anchor for certification path not found
解决办法是将证书验证屏蔽掉:
HttpsURLConn...
转载
2018-08-21 10:35:38 ·
7685 阅读 ·
1 评论