Enabling Reaper to connect securely to Cassandra

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:

  1. In the <install-dir>/apache-cassandra/reaper/conf/ directory, create a file called reaperSSLConfig.
  2. Add the location of the cqlshrc file: cqlshrc-file-dir=<dir-path>.
  3. 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
  4. Save the file.
  5. Uncomment the following properties in the <install-dir>/apache-cassasndra/reaper/conf/cassandr-reaper.yaml file.
    ssl:
         type: jdk

Results

Reaper is now enabled to connect securely to Cassandra.