Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8035309

javax.crypto.JarVerifier.verifyPolicySigned fails for IDM installation

XMLWordPrintable

       
      Submitting team claims that policy file verification is failing.

      Caused by: java.lang.ExceptionInInitializerError
              at javax.crypto.Mac.getInstance(Mac.java:171)
              at oracle.security.crypto.cert.PKCS12.computeMAC(PKCS12.java:299)
              at oracle.security.crypto.cert.PKCS12.verify(PKCS12.java:402)
              at oracle.security.pki.OracleKeyStoreSpi.engineLoad(Unknown Source)
              at java.security.KeyStore.load(KeyStore.java:1214)
              at oracle.security.pki.OracleWallet.getKeyStore(Unknown Source)
              at oracle.security.pki.OracleWallet.createSSO(Unknown Source)
      ...
      ...
      Caused by: java.lang.SecurityException: The jurisdiction policy files are
      not signed by a trusted signer!
      at
      javax.crypto.JarVerifier.verifyPolicySigned(JarVerifier.java:289)
              at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316)
              at
      javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261)
              at javax.crypto.JceSecurity.access$000(JceSecurity.java:48)
              at javax.crypto.JceSecurity$1.run(JceSecurity.java:78)
              at java.security.AccessController.doPrivileged(Native Method)
              at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76)

      Submitter upgrading to JDK 7. Their java.home property variable was
      erroneously pointing to JDK 6 config file in the past. Hopefully that's
      been resolved on their side. To investigate.
       

            coffeys Sean Coffey
            asaha Abhijit Saha
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: