To connect Reaper to Cassandra securely, you must create a file that contains JVM options
in the <install-dir>/apache-cassandra/reaper/conf/ directory.
Procedure
To enable Reaper to connect securely to Cassandra, complete the following
steps:
-
In the <install-dir>/apache-cassandra/reaper/conf/ directory, create a
file called reaperSSLConfig.
-
Add the location of the cqlshrc file:
cqlshrc-file-dir=<dir-path>.
-
Add the following lines to the file:
Important: Ensure that each option is added on a separate line in the file.
-Djavax.net.ssl.keyStore=<Cassandra-keystore-full-path>
-Djavax.net.ssl.keyStorePassword=<password>
-Djavax.net.ssl.trustStore=<Cassandra-truststore-full-path>
-Djavax.net.ssl.trustStorePassword=<password>
-Dssl.enable=true
\n
-
Save the file.
-
Uncomment the following properties in the
<install-dir>/apache-cassasndra/reaper/conf/cassandr-reaper.yaml file.
Results
Reaper is now enabled to connect securely to Cassandra.