Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

Ckn avatar image
Ckn asked Erick Ramirez answered

Unable to login to cluster with client-to-node encryption enabled

cassandra.yaml

require_client_auth: true

cqlshrc file for reference

[authentication]
username = cassuser
password = testpass
 
[connection]
hostname = 172.10.11.325
port = 8321
factory = cqlshlib.ssl.ssl_transport_factory

[ssl]
certfile =~/.cassandra/filename.crt
validate = true
version = SSLv23
userkey = ~/.cassandra/test-dev.key
usercert = ~/.cassandra/test-dev-chain.pem

Log message:

Connection error: ('Unable to connect to any servers', {'172.10.11.325:8321': OSError(22, "Tried connecting to [('172.10.11.325', 8321)]. Last error: Invalid argument")})
encryption
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

In my experience, most of the issues with SSL and certificates is due to human error. Unfortunately, this isn't something I can troubleshoot for you because it takes a lot of time and requires diagnostic information from your cluster.

If you have a paid subscription, please feel free to log a ticket with DataStax Support so one of our engineers can assist you directly. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.