3 Replies Latest reply: Mar 1, 2011 11:31 PM by 843268 RSS

    When I run an Applet with signature, get CertificateParsingException error.

    843268
      I run the applet in IE8, win7. The error stack is:
      java.security.cert.CertificateParsingException: no more data allowed for version 1 certificate
           at sun.security.x509.X509CertInfo.parse(Unknown Source)
           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.TrustDecider.isAllPermissionGranted(Unknown Source)
           at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
           at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.getPermissions(Unknown Source)
           at java.security.SecureClassLoader.getProtectionDomain(Unknown Source)
           at java.security.SecureClassLoader.defineClass(Unknown Source)
           at java.net.URLClassLoader.defineClass(Unknown Source)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.access$100(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 java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)


      It seems that JVM in IE8 does not support the X.509 V1, because the Certificate was generated by keytool, which only support X.509 V1. But why IE8 does not support the V1? I think IE8 support V1 undoubtly.

      Thank you.

      Edited by: user11052496 on 2011-2-28 上午1:30