commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [HttpClient] Connect to secure site with certificate not signed by verisign
Date Thu, 02 Feb 2006 17:18:49 GMT
On Thu, 2006-02-02 at 18:02 +0100, David Asensio wrote:
> Hi all (this is my first post).
> 
> I'm using Commons-HttpClient to connect to a site with a certificate not 
> signed by verisign.
> 
> The examples I can find in the "SSL Guide" works with 
> "https://www.verisign.com/" but not with this another web-site, I get 
> the following exception: "Fatal transport error: 
> sun.security.validator.ValidatorException: No trusted certificate found"
> 
> I know I can solve the problem by importing the certificate but I don't 
> want to do it that way.
> 
> Is there any option to do it?
> Shall I use another JSSE provider?
> 
> Thanks.

Have you looked at the AuthSSLProtocolSocketFactory or 
EasySSLProtocolSocketFactory classes?

http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/ssl/

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message