请求ssl不授信问题

手机https请求失败,提示:javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

 根据提示判断是证书有问题,这个时候就要去查一下服务端的ssl证书是否有效,再查一下手机的证书问题。

由于之前改动过手机的系统时间,所以导致手机上的证书出现问题,把时间还原之后问题解决。

原文地址:https://www.cnblogs.com/ring1992/p/14955248.html