This looks like to me a Java SSL problem. I don't know if it is any different
with the Apache HTTP client, but for the "native" JRE SSL you need to have the
server with a certificate signed by a certificate in the keystore. Java comes
with most of the popular CAs you would expect (Verisign, Thawte, etc.). But if
you have a self-signed certificate or a cert signed by a CA not in the Java
JRE you will need to manually add it to the keystore. I think there's a way to
set up some class that can verify the key directly (instead of letting Java do
it automatically), but I don't know how to do it offhand. The rest you should
be able to find out by searching.
Jason
On 6/30/2010 3:15 PM, Amy Yang (amyyang) wrote:
> Hi,
> I am trying to test a GET from a Jersey Server.
> _com.sun.jersey.api.client.ClientHandlerException_:
> _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