Skip to content

Enabling Unlimited Strength Jurisdiction Policy

Andres Voll edited this page Dec 14, 2017 · 5 revisions

Oracle Java

Before Java 8 Update 151

For Java 8 Update 144 and earlier, you need to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy files:

  1. Download the unlimited strength JCE policy files from here
  2. Extract the downloaded file
  3. Replace the existing policy JAR files in $JAVA_HOME/jre/lib/security with the extracted unlimited strength policy JAR files

Note: In case you later decide to revert to the original limited policy versions, first make a backup of the original JCE policy files (US_export_policy.jar and local_policy.jar) in $JAVA_HOME/jre/lib/security.

Java 8 Update 151 and higher

The Unlimited Strength Jurisdiction Policy is included but not used by default. To enable it, you need to edit the java.security file in $JAVA_HOME/jre/lib/security (for JDK) or $JAVA_HOME/lib/security (for JRE). Uncomment (or include) the line:

crypto.policy=unlimited

Java 9

Should be enabled by default.

OpenJDK

Should be enabled by default.