Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PKIX path validation failed | subject/issuer name chaining check failed

843811Nov 24 2006 — edited Feb 8 2013
I am developing an application that simulates the user's actions on a browser (logs in a site, do some POST's and GET's, etc) and I get the following error:
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: subject/issuer name chaining check failed
...
Caused by: java.security.cert.CertPathValidatorException: subject/issuer name chaining check failed
I'm using Apache HTTP client library. Can someone explain to me what is wrong? I can do the same actions via a web browser.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 8 2013
Added on Nov 24 2006
21 comments
47,313 views