I was trying to access a secure web site using Apache HttpClient API. However, it was failing giving me the following exception
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
In apache HttpClient website, it states that “HttpClient provides full support for HTTP over Secure Sockets Layer (SSL) or [...]
Archive for March, 2009
Accessing SSL enabled web site using Apache HttpClient
Posted in JAVA, tagged Apache, HttpClient, JSSE, SSL on March 6, 2009 | Leave a Comment »