1 Reply Latest reply: Jan 31, 2013 1:54 AM by 988272 RSS

    Getting CertificateParsingException: java.io.IOException in Java Console

    SanOra13
      Hello,

      I am getting the below error message in Java console when i try to open web based application via IE.

      java.security.cert.CertificateParsingException: java.io.IOException: No data available in passed DER encoded value.
      at sun.security.x509.X509CertInfo.<init>(Unknown Source)
      at sun.security.x509.X509CertImpl.parse(Unknown Source)
      at sun.security.x509.X509CertImpl.<init>(Unknown Source)
      at sun.security.provider.X509Factory.parseX509orPKCS7Cert(Unknown Source)
      at sun.security.provider.X509Factory.engineGenerateCertificates(Unknown Source)
      at java.security.cert.CertificateFactory.generateCertificates(Unknown Source)
      at com.sun.deploy.security.WIExplorerCertStore.generateCertificate(Unknown Source)
      at com.sun.deploy.security.WIExplorerCertStore.loadCertificates(Native Method)
      at com.sun.deploy.security.WIExplorerCertStore.load(Unknown Source)
      at com.sun.deploy.security.WIExplorerCertStore.load(Unknown Source)
      at com.sun.deploy.security.LazyRootStore.loadBrowserStore(Unknown Source)
      at com.sun.deploy.security.LazyRootStore.getTrustAnchors(Unknown Source)
      at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)
      at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
      at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.isAppletSigned(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.IOException: No data available in passed DER encoded value.
      at sun.security.x509.GeneralNames.<init>(Unknown Source)
      at sun.security.x509.SubjectAlternativeNameExtension.<init>(Unknown Source)
      at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at sun.security.x509.CertificateExtensions.parseExtension(Unknown Source)
      at sun.security.x509.CertificateExtensions.init(Unknown Source)
      at sun.security.x509.CertificateExtensions.<init>(Unknown Source)
      at sun.security.x509.X509CertInfo.parse(Unknown Source)

      The above message is not displayed when i connect a application via Morzilla.

      Application server - 11g WLS
      DB - oracle 11g
      OS - Windows7
      Java Version - Java 7

      It would be very helpful if some one will reply it ASAP.

      Regards
      Santosh