且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android的应用程序的JavaMail - CertPathValidatorException:认证路径信任锚未找到

更新时间:2021-09-07 21:48:36

有可能是一个防火墙或防病毒软件或代理程序多数民众赞成拦截您的请求连接到邮件服务器,并提供Gmail的证书,其证书来代替。使用 InstallCert 计划,看看有什么证书,这是presenting给你。

There might be a firewall or anti-virus or proxy program that's intercepting your request to connect to your mail server and providing its certificate instead of the Gmail certificate. Use the InstallCert program to see what certificate it's presenting to you.

另一种可能性是,信任存储为空或丢失,或配置不正确,这就是为什么它找不到信任锚。

Another possibility is that the trust store is empty or missing or incorrectly configured, which is why it can't find the trust anchor.