javax.net.ssl.SSLHandshakeException: unable to find valid certification path to requested target

Error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Cause: The certificate not in trusted list of JVM.

Solution: Add the certificate to trusted list by compiling and running the following Java class from the download link below (modified from the one posted at http://code.naishe.in/2011/07/looks-like-article-no-more-unable-to.html). Note: The certificate file(path) may have to be edited and set to the file used by your JVM to look up certificates.

Download InstallCert.java

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy This Password *

* Type Or Paste Password Here *

41,728 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>