The truststore file is the Java keystore containing the cluster’s SSL certificates. $> cassandra-stress write -node 127.0.0.1 -transport truststore=/path/to/cluster/truststore.jks truststore-password=mytruststorepassword -mode native cql3 user=myuser password=mypassword To connect to an SSL cluster using cassandra-stress, you’ll need to provide the following arguments: If you want to connect to a different node, you can override the hostname field in the cqlshrc file by supplying an IP address, like so: $> cqlsh -ssl 127.0.0.1 Cassandra-stress Now you will be able to connect using $> cqlsh -ssl If you provide the wrong cql version in your cqlshrc configuration file, Cassandra will return an error displaying the correct version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |