# Install Java JCE Unlimited Strength Jurisdiction Policy Files

Hermes SEG does NOT come pre-loaded with the Java JCE Unlimited Strength Jurisdiction Policy files. Hermes SEG takes advantage of the Java JCE Unlimited Strength Jurisdiction Policy files for various functionality throughout the system. You must install the Java JCE Unlimited Strength Jurisdiction Policy files before you can configure the system. Please follow the directions below:

1. Download the [Java JCE Unlimited Strength Jurisdiction Policy files](http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html) **jce\_policy-8.zip** file and save to your computer.
2. Extract the **jce\_policy-8.zip** file.
3. Login to Hermes SEG via SSH.
4. Stop Lucee:

```
/etc/init.d/lucee_ctl stop
```

5. Make a backup of the following files:

```
/bin/mkdir /home/hermes/jarbkup
/bin/mv /opt/lucee/jdk/jre/jre/lib/security/local_policy.jar /home/hermes/jarbkup
/bin/mv /opt/lucee/jdk/jre/jre/lib/security/US_export_policy.jar /home/hermes/jarbkup

```

6. Copy the **local\_policy.jar** and the **US\_export\_policy.jar** files from the extracted **jce\_policy-8.zip** you downloaded from **Step 1** to Hermes SEG **/home/hermes** directory via **scp** if you are using Linux, **pscp** or **WinSCP** if you are using Windows**.**

Example pscp command for Windows where 192.168.XXX.XXX is the IP address of your Hermes SEG machine:

```
pscp C:\tmp\UnlimitedJCEPolicyJDK8\local_policy.jar hermes@192.168.XXX.XXX:/home/hermes
pscp C:\tmp\UnlimitedJCEPolicyJDK8\US_export_policy.jar hermes@192.168.XXX.XXX:/home/hermes
```

7. Copy the newly copied files from the **/home/hermes** directory to the **/opt/lucee/jdk/jre/jre/lib/security** directory:

```
/bin/cp /home/hermes/local_policy.jar /opt/lucee/jdk/jre/jre/lib/security
/bin/cp /home/hermes/US_export_policy.jar /opt/lucee/jdk/jre/jre/lib/security

```

8. Start Lucee:

```
/etc/init.d/lucee_ctl start
```

9. Login in to the Hermes SEG Administrator Console and Navigate to **System --&gt; System Settings**, fill out the fields as required and click on the **Save Settings** button. If you do NOT get an error then the Java JCE Unlimited Strength Jurisdiction Policy files were succesfully installed. Remove the temp directory you created earlier:

```
/bin/rm -rf /home/hermes/jarbkup/
```