You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Alexander Philippi <al...@yahoo.de> on 2007/11/21 12:50:42 UTC
ValidatorException
Hi,
I am trying to send via httpclient.executeMethod(post)data to a HTTPS Serveraddress.
This Server has only a self-signed / test certicifate (if I use a browser I have to accept the unverified certificate / get a cert. warning).
But if I am trying to send data to this location I got this 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
I google a bit and found out, thats a normal exception if I try to send data to a https server. Could I "tell" the httpclient to send the data anyway and ignore this exception? Or has the admin of the server to buy a certificate (or does this work with OpenSSL?)
I hope you can help me with some hints.
Best Regards
Heute schon einen Blick in die Zukunft von E-Mails wagen? www.yahoo.de/mail
Re: ValidatorException
Posted by Roland Weber <os...@dubioso.net>.
You are welcome to suggest improvements to our SSL Guide:
http://jakarta.apache.org/httpcomponents/httpclient-3.x/sslguide.html
cheers,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org