Installing Java Cryptography Extension (JCE) Files
Installing the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files.
Installing the JCE Unlimited Strength Jurisdiction Policy Files can ensure support for all encryption algorithms when using Oracle Java with SSL on Apache Cassandra, and it highly recommended. The files must be installed on every node in the Cassandra cluster.
Some of the cipher suites in the default cassandra.yaml are included only in the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files. To ensure support for all encryption algorithms, install the JCE Unlimited Strength Jurisdiction Policy Files.
Cassandra package installations | /etc/cassandra/cassandra.yaml |
Cassandra tarball installations | install_location/cassandra/conf/cassandra.yaml |
Install the JCE files using the appropriate method for your Cassandra installation:
Installing the JCE on RHEL-based systems
- If necessary, install the EPEL
repository:
sudo yum install epel-release
- Installing the JCE using the Oracle JAR files:
- Download the Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files from Oracle Java SE download page under Additional Resources.
- Unzip the downloaded file.
- Copy
local_policy.jar
andUS_export_policy.jar
to the$JAVA_HOME/jre/lib/security
directory to overwrite the existing jar files.
Installing the JCE on Debian-based systems
sudo apt-get install oracle-java8-unlimited-jce-policy