我正在尝试在我的 DSE 服务器中启用客户端到节点 SSL 加密。
我的 cqlshrc 文件如下所示
[connection]
hostname = 127.0.0.1
port = 9160
factory = cqlshlib.ssl.ssl_transport_factory
[ssl]
certfile = /path/to/dse_node0.cer
validate = true ;; Optional, true by default.
[certfiles] ;; Optional section, overrides the default certfile in the [ssl] section.
1.2.3.4 = /path/to/dse_node0.cer
当我尝试登录 cqlsh shell 时出现以下错误
Connection error: Could not connect to 127.0.0.1:9160