如何通过 SSL 将 Spring 应用程序连接到 Cassandra?

问题描述 投票:0回答:0

我正在寻找如何通过 SSL 设置 Cassandra,然后从 CQLSH 到 Cassandra 以及从 Spring 应用程序到这个 Cassandra 实例的连接的分步教程。

我试图像这里一样设置 SSL 证书: https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/configuration/secureSSLCertificates.html 然后设置客户端到节点的连接 https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/configuration/secureSSLClientToNode.html 并设置 CQLSH 连接: https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/configuration/secureCqlshSSL.html

但是连接失败: 连接错误:('无法连接到任何服务器',{'192.168.50.112:9042': SSLError(1, '[SSL] tlsv13 alert certificate required (_ssl.c:2354)')})

spring ssl cassandra cqlsh
© www.soinside.com 2019 - 2024. All rights reserved.