Reputation: 101
what is correct command to run cli when SSL is enabled.
I am using cassandra 2.1.16 and running following command.
/etc/cassandra/bin/cassandra-cli -u <user_name> -pw <password> -p 10760 -h <hostname> --jmxusername <user_name> --jmxpassword <password> -ts /var/opt/keypath/abc.jks -tspw <password> --debug
It gives me following error:
Login failure. Did you specify 'keyspace', 'username' and 'password'?
I looked at the source code of cassandra,but no gain, it simply returns the error message and there is no stacktrace.
Just for information: CQLSH is working fine on SSL.
Quick Help would be appreciated.
Upvotes: 0
Views: 150
Reputation: 2982
Casandra-CLI was marked as deprecated and is lacking a lot of features. The recommandation is to use CQLSH. Since everything works fine in CQLSH, you should better use this one.
Upvotes: 0