Monday, August 17, 2020

"The jurisdiction policy files are not signed by the expected signer! " - Autoconfig

 Dear Folks,

We came across strange issue with autoconfig which we never faced so far. I will explain this in a simple manner which could be understandable.

Issue - Autoconfig run.

Error - 

Caused by: java.lang.SecurityException: The jurisdiction policy files are not signed by the expected signer! (Policy files are specific per major JDK release.Ensure the correct version is installed.)

    at javax.crypto.JarVerifier.verifyPolicySigned(JarVerifier.java:328)

    at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:378)

    at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:323)

    at javax.crypto.JceSecurity.access$000(JceSecurity.java:50)

    at javax.crypto.JceSecurity$1.run(JceSecurity.java:82)

    at java.security.AccessController.doPrivileged(Native Method)

    at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:80)

    ... 19 more

ERROR: Context Value Management Failed.

Terminate.

Fix : - Download Jurisdiction Policy Files Download. 

Link -    https://www.oracle.com/java/technologies/javase-jce-all-downloads.html

We are using JDK 7 version, so we have downloaded UnlimitedJCEPolicyJDK7.zip

If you are using other version JDK8 or JDK6- u can download from above link.

Download zip file into $OA_JRE_TOP/jdk/jre/lib/security after taking backup of existing files.

/u01/app/******//EBGTS/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/security.

Unzip create following files. Once done, Run the autoconfig. It would successfully executes.

US_export_policy.jar

local_policy.jar

Thanks.

No comments:

Post a Comment