cassandra - 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,但仍然无法正常工作。
解决方案
推荐阅读
- python - 正则表达式,选择多个括号之间的字符
- javascript - 在 Angular 2 中触发对子组件的更改,即使数据/状态没有更改
- python - ML Engine Google Cloud Platform,从已部署模型中的字符串解析特征
- spring-boot - How can I fix: "start-stop-daemon: warning: this system is not able to track process names" when starting springboot as a systemd service?
- java - XPath 表达式在 Java 中被认为是非法的
- three.js - buffergeometry 实例化动态如何更新位置
- reactjs - 用户获取我以前的捆绑包
- python - 运行我的脚本时无法摆脱“陈旧元素”错误
- sas - 在proc gmap中对形状和文本使用注释
- java - 如何使用 selenium java 下载 pdf 文件?