DataStax Help Center

Enabling intra-node encryption


For intra-node replicated data, you can enable SSL between Apache Cassandra servers:

You must also generate keys and provide the appropriate key and trust store locations and passwords.


To generate keys you do the following:

1. Generate a keystore and a truststore to manage your ssl keys and certificates.
Follow the instructions here:


NOTE: The following steps need to be done on each node of your cluster

2. Place the two resulting files (keystore, truststore) from step 1. into the Cassandra configuration files directory, which for a packaged install should be /etc/dse/cassandra.

3. Edit encryption_options settings of cassandra.yaml, providing the correct locations and passwords for the keystore and truststore you setup in step 1. and enable the encryption.

4. Download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6:

5. Place the jar files from step 4. into the security folder for java, which is found here: $JAVA_HOME/jre/lib/security

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request


Powered by Zendesk