如何在jdk1.6中解决X509证书问题中的错误编码

时间:2013-09-18 17:30:46

标签: java ssl java-7 jdk1.6 tomee

我在jdk1.6中得到了以下异常。但同样它正在运行JDK1.7版本。 这是JDK1.6版本的问题吗?

java.security.cert.CertPathValidatorException: java.io.IOException: Bad encoding in X509 Certificate
at sun.security.provider.certpath.OCSP.check(OCSP.java:219)
at sun.security.provider.certpath.OCSP.check(OCSP.java:85)
at com.strutsrecipes.antbuild.business.PIOCSPValidation.generateCertificatePath(PIOCSPValidation.java:67)
at com.strutsrecipes.antbuild.actions.LoginSearchAction.execute(LoginSearchAction.java:21)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:480)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

0 个答案:

没有答案