Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
My cassandra server start with client_encryption_options.
client_encryption_options: enabled: true keystore: /path/to/keystore.node0 keystore_password: cassandra require_client_auth: true truststore: /path/to/truststore.node0 truststore_password: cassandra
when I use sstableloader with -ts/-tspw/-ks/-kspw, I get
All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.TransportException: [localhost/127.0.0.1:9042] Channel has been closed)) com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.TransportException: [localhost/127.0.0.1:9042] Channel has been closed))
after looked at the code, I found only one way to active ssl is use -f with a configuration yaml file which has
client_encryption_options:
enabled: true
so I think it's a bug, better to active ssl when I set -ts and -tspw.
Attachments
Issue Links
- relates to
-
CASSANDRA-10391 sstableloader fails with client SSL enabled with non-standard keystore/truststore location
- Resolved