You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by David Asensio <da...@acotelsa.com> on 2006/02/02 18:02:48 UTC
[HttpClient] Connect to secure site with certificate not signed by
verisign
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.
--
*****************************************************
David Asensio Ortega
e-mail: dasensio[at]acotelsa.com
*****************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [HttpClient] Connect to secure site with certificate not signed by
verisign
Posted by David Asensio <da...@acotelsa.com>.
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
Re: [HttpClient] Connect to secure site with certificate not
signed by verisign
Posted by Oleg Kalnichevski <ol...@apache.org>.
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