Smack报错:Trust anchor for certifi

2016-04-19  本文已影响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)

上一篇 下一篇

猜你喜欢

热点阅读