Browser JRE安全证书版本 Bad Version 问题解决
[java]
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.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)
移除安全认证的方法。
Try to remove the certificate for that Trusted publisher as below...
STEP1: Windows Start>>Setting >> Control Panel
STEP2: Double click Java icon
STEP3: Then Goto security-tab>>click certificate >> Click "User" tab >> Highlight the certificate you want to remove >> click Remove Button.
If the applet is cached you need to remove the applet from 2 locations,
LOCATION A : Go to IE browser and clear the history
LOCATION B : Go to Control Panel>>click Java Icon >> General-tab>> Click Setting button >> remove the applet
Then when the applet is downloaded next time , you will see the pop-up you desire.
有时候使用Applet 会报出
Bad Version , V1 的错误信息。
但是查看当前的Applet 的证书版本是V3 . (>V1)
这样就有可能是其他证书报出来的。
进入IE
Tools--> Internet Options--> Certificates
查看每个证书的详细信息, 把版本是V1的删除掉。
补充:软件开发 , Java ,