SSL连接无法正常工作 [英] SSL Connection not working
本文介绍了SSL连接无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我使用官方SSL证书连接到服务器时,会得到
When I connect to a server with an official SSL certificate, i get a
javax.net.ssl.SSLHandshakeException
java.security.cert.CertPathValidatorException:的信任锚 找不到认证路径.
javax.net.ssl.SSLHandshakeException
java.security.cert.CertPathValidatorException: Trust Anchor for certification path not found.
但是,当我在Android手机上运行此应用程序时,它可以工作.有解决方案吗?
最好的问候!
But when I run this app on an Android-phone, it works. Any solutions?
Best regards!
推荐答案
我自己发现了它. Avast拥有自己的SSL证书,而Android不信任此证书.
I found it out myself. Avast puts it own SSL certificate and Android does not trust this.
这篇关于SSL连接无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文