commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Asensio <dasen...@acotelsa.com>
Subject Re: [HttpClient] Connect to secure site with certificate not signed by verisign
Date Fri, 03 Feb 2006 08:07:57 GMT
Thanks, that was the clue...

I've already solved it.

*****************************************************
David Asensio Ortega
e-mail: dasensio[at]acotelsa.com
*****************************************************

Oleg Kalnichevski escribió:
> 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
> 
> 
> 
> Mensaje analizado por el Sistema de Detección de Virus McAfee de 
> Acotel. El hecho de que dicho mensaje haya sido tratado NO excluye que 
> pueda contener virus no catalogados a fecha de hoy.
> ----------------------------------------
> Message analyzed by the McAfee Virus Detection System at Acotel. The 
> fact that this message has passed analysis doesn't exclude the 
> possibility of being infected by an undetected virus.


---------------------------------------------------------------------
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