Using cqlsh with SSL
Using a cqlshrc file with SSL encryption using a self-signed CA.
Using a cqlshrc file is the easiest method of getting
cqlshrc
settings. The
cqlshrc.sample provides an example that can be
copied as a starting point.
The location of the
cqlshrc.sample file depends on the type of installation:
DataStax Enterprise 5.0 Installer-Services and package installations | /etc/dse/cassandra/cqlshrc.sample |
DataStax Enterprise 5.0 Installer-No Services and tarball installations | install_location/resources/cassandra/conf/cqlshrc.sample |
Cassandra package installations | /etc/cassandra/cqlshrc.sample |
Cassandra tarball installations | install_location/conf/cqlshrc.sample |