java - 我什么时候得到 javax.net.ssl.SSLHandshakeException : sun. security.validator.ValidatorException: No trusted certificate found

标签 java ssl axis jsse

<分区>

我使用 SSLConnectionSocketFactory 实现了信任库。在我的客户端(使用 Axis 与服务器通信)中,调用 connectSocket() 时出现以下错误。在哪些情况下会出现此错误?

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found

最佳答案

当 RootCA、Intermediate-CA 或整个 CA 链丢失时,您会得到该异常。这篇文章可能会帮助您解决问题:SSLHandshakeException

关于java - 我什么时候得到 javax.net.ssl.SSLHandshakeException : sun. security.validator.ValidatorException: No trusted certificate found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33196335/

上一篇:security - JDK 从 1.6 升级到 1.8 后 SSL 握手失败

下一篇:ruby - 带有自签名证书的 Neo4j gem https

相关文章:

java - 绘制谢尔宾斯基三角形分形 - Java

.htaccess - 我应该如何摆脱使用 .htaccess 访问 https 中的停放域时的 SSL 错误?

java - Axis .ConfigurationException : SAXException: Fatal Error: URI=null Line=56: XML document structures must start and end

java - 常量接口(interface)反模式说明

java - Java 线程每秒常量 "ticks"

java - 得到 java.security.InvalidAlgorithmParameterException : the trustAnchors parameter must be non-empty when using cas

django - 在 SSL Conf 之后。返回 "welcome to nginx!"

error-handling - 无法在 Axis 1.4中维护多个 session

python - 如何使 pyplot 均匀分布 y 刻度值 [0, 1/2, 3/4, 7/8, ...]

java - 在客户端 JAVA 中调用 socket.close() 时套接字不关闭服务器端