0 Replies Latest reply: Oct 3, 2013 4:24 AM by user10705439 RSS

    Application throws java.security.cert.CertificateParsingException

    user10705439

      Hi,

       

      for our application we are doing self signed jar and we added Permissions, and codebase entry in our manifest as per 7u25, but when opening the application we are getting error like this,

       

      kindly find the environement :

      IE is 8, JDK, 1.6 and JRE 1.7u25,,

       

      anyone have idea, why i am getting this error,

       

      it could be very greatful for giving solution for this issue.

       

      Java Plug-in 10.25.2.16

      Using JRE version 1.7.0_25-b16 Java HotSpot(TM) Client VM

      User home directory = C:\Users\ksi1cob

      ----------------------------------------------------

      c:   clear console window

      f:   finalize objects on finalization queue

      g:   garbage collect

      h:   display this help message

      l:   dump classloader list

      m:   print memory usage

      o:   trigger logging

      q:   hide console

      r:   reload policy configuration

      s:   dump system and deployment properties

      t:   dump thread list

      v:   dump thread stack

      x:   clear classloader cache

      0-5: set trace level to <n>

      ----------------------------------------------------

      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.getValidationState(Unknown Source)

          at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)

          at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)

          at sun.plugin2.applet.Plugin2ClassLoader.isTrustedByTrustDecider(Unknown Source)

          at sun.plugin2.applet.Plugin2ClassLoader.getTrustedCodeSources(Unknown Source)

          at com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source)

          at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source)

          at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)

          at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)

          at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)

          at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)

          at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)

          at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)

          at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)

          at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)

          at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)

          at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)

          at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

          at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)

          at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

          at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

          at java.lang.ClassLoader.loadClass(Unknown Source)

          at sun.plugin2.applet.Plugin2ClassLoader.loadCode(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.GeneratedConstructorAccessor12.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)

          ... 44 more