Path does not chain with any of the trust anchor
843811Jun 14 2007 — edited Jun 14 2007Hi,
I got the exception when using
CertPathValidator cpv = CertPathValidator.getInstance("PKIX");
PKIXCertPathValidatorResult cpv_result =
(PKIXCertPathValidatorResult) cpv.validate(cp, params);
java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:195)
at java.security.cert.CertPathValidator.validate(CertPathValidator.java:206)
...
I am using a valid root certificate and valid user certificate from verisign.
Any idea?
Thanks.