Connect to Cassandra Apache with SSL using cassandra-driver in Node.js

后端 未结 2 1337
伪装坚强ぢ
伪装坚强ぢ 2020-12-21 01:32

I try connect to my Cassandra but I have probably wrongly configured. I run it on localhost. Cassandra has generated certificated and add on. In cqlsh there are no errors wi

2条回答
  •  一整个雨季
    2020-12-21 02:08

    You should not need to specify tls.connect(options) rather you should just provide options for sslOptions. The driver calls tls.connect with the sslOptions you provide.

    If you make this change and still get errors, can you share with me what they are? There are a lot of different factors that can make establishing an ssl connection fail.

提交回复
热议问题