Receving a SecurityException: The jurisdiction policy files are not signed by a trusted signer!

Solution In Progress - Updated -

Issue

  • While changing from OpenJDK to Oracle JDK, getting SecurityException. 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]

Environment

  • Java using JCE cryptography
  • JAVA_HOME/jre/lib/security contains policy files from another installation of Java

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.