Receving a SecurityException: The jurisdiction policy files are not signed by a trusted signer in JBoss EAP log
Issue
- While changing from
OpenJDK
toOracle JDK
, gettingSecurityException
. During upgrade lib/security was copied over to new JDK - Receiving SecurityException after upgrading Java version.
Caused by: java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer!
at javax.crypto.JarVerifier.verifyPolicySigned(JarVerifier.java:289)[:1.7.0_10]
- Currently trying to upgrade the currently installed jdk1.6.0_20, to the newest one jdk1.6.0_181, logs show a lot of errors, resulting in the server not working as intended. Errors are gone when reverting back to 1.6.0_20.
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:267)
... 68 more
Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:593)
at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:524)
at javax.crypto.JceSecurity.access$700(JceSecurity.java:37)
at javax.crypto.JceSecurity$1.run(JceSecurity.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:234)
... 68 more
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.