java.io.IOException: java.lang.ClassCastException: oracle.security.crypto.cert.ext.NetscapeCertTypeExtension cannot be cast to oracle.security.crypto.cert.X509Extension

Oracle Community | 934007 | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    oid installation Exception

    Oracle Community | 5 years ago | 934007
    java.io.IOException: java.lang.ClassCastException: oracle.security.crypto.cert.ext.NetscapeCertTypeExtension cannot be cast to oracle.security.crypto.cert.X509Extension

    Root Cause Analysis

    1. java.io.IOException

      java.lang.ClassCastException: oracle.security.crypto.cert.ext.NetscapeCertTypeExtension cannot be cast to oracle.security.crypto.cert.X509Extension

      at oracle.security.crypto.cert.X509Extension.inputInstance()
    2. oracle.security.crypto
      PKCS12.<init>
      1. oracle.security.crypto.cert.X509Extension.inputInstance(X509Extension.java:257)
      2. oracle.security.crypto.cert.X509ExtensionSet.input(X509ExtensionSet.java:261)
      3. oracle.security.crypto.cert.X509ExtensionSet.<init>(X509ExtensionSet.java:103)
      4. oracle.security.crypto.cert.X509.input(X509.java:615)
      5. oracle.security.crypto.cert.X509.<init>(X509.java:142)
      6. oracle.security.crypto.cert.PKCS12CertBag.input(PKCS12CertBag.java:126)
      7. oracle.security.crypto.cert.PKCS12CertBag.<init>(PKCS12CertBag.java:80)
      8. oracle.security.crypto.cert.PKCS12Bag.inputBag(PKCS12Bag.java:78)
      9. oracle.security.crypto.cert.PKCS12Safe.input(PKCS12Safe.java:203)
      10. oracle.security.crypto.cert.PKCS12Safe.<init>(PKCS12Safe.java:119)
      11. oracle.security.crypto.cert.PKCS12.input(PKCS12.java:179)
      12. oracle.security.crypto.cert.PKCS12.<init>(PKCS12.java:122)
      12 frames
    3. oracle.security.pki
      OracleKeyStoreSpi.engineLoad
      1. oracle.security.pki.OracleKeyStoreSpi.engineLoad(Unknown Source)
      1 frame
    4. Java RT
      KeyStore.load
      1. java.security.KeyStore.load(KeyStore.java:1185)
      1 frame
    5. oracle.security.pki
      OracleWallet.getCertReqDNs
      1. oracle.security.pki.OracleWallet.getKeyStore(Unknown Source)
      2. oracle.security.pki.OracleWallet.getCertReqDNs(Unknown Source)
      2 frames
    6. oracle.as.idm
      IdMDirectoryServicesManager.doExecute
      1. oracle.as.idm.install.config.util.CertificateUtil.importCertificate(CertificateUtil.java:112)
      2. oracle.as.idm.install.config.util.CertificateUtil.setOVDCAIntoEMAgentWallet(CertificateUtil.java:165)
      3. oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:1137)
      3 frames
    7. oracle.as.install
      ConfigurationModule.run
      1. oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
      2. oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
      3. oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
      4. oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
      5. oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
      6. oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
      7. oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
      8. oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
      8 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame