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:
- Download the Java JCE Unlimited Strength Jurisdiction Policy files jce_policy-8.zip file and save to your computer.
- Extract the jce_policy-8.zip file.
- Login to Hermes SEG via SSH.
- Stop Lucee:
/etc/init.d/lucee_ctl stop
- 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
- 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
- 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
- Start Lucee:
/etc/init.d/lucee_ctl start
- Login in to the Hermes SEG Administrator Console and Navigate to System --> 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/