首页 > 解决方案 > DSE Cassandra SSL 握手错误:javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException:未找到受信任的证书

问题描述

我得到以下异常:

ERROR [MessagingService-Outgoing-/10.16.252.241-Gossip] 2020-05-15 08:39:10,957  OutboundTcpConnection.java:597 - SSL handshake error for outbound connection to 7abffb17[SSL_NULL_WITH_NULL_NULL: Socket[addr=/10.16.252.241,port=7001,localport=52222]]
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)

我正在添加自签名证书。我已将证书添加到 java 安全路径中的 cacerts,但仍然无法正常工作。

标签: cassandra

解决方案


推荐阅读