美文网首页
Smack报错:Trust anchor for certifi

Smack报错:Trust anchor for certifi

作者: 跑步与开车 | 来源:发表于2016-04-19 14:05 被阅读776次

错误日志:

org.jivesoftware.smack.SmackException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

原因分析:没有SSL证书

解决方法:

builder.setSecuryMode(SecuryMode.disable)

相关文章

网友评论

      本文标题:Smack报错:Trust anchor for certifi

      本文链接:https://www.haomeiwen.com/subject/zitzlttx.html