hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bagas" <ba...@indoartha.co.id>
Subject RE: [newbie] SSL
Date Wed, 28 Apr 2004 07:00:33 GMT
Thank you for your reply.

If the server would like to request a certificate to verify that the
client is who and what it claims to be (client authentication) how can I
do this with HttpClient? Is using EasySSLProtocolSocketFactory will do?

Thank you again,

Rahmat Bagas Santoso

-----Original Message-----
From: Ortwin Gl├╝ck [mailto:ortwin.glueck@nose.ch] 
Sent: Tuesday, April 27, 2004 3:44 PM
To: Commons HttpClient Project
Subject: Re: [newbie] SSL



bagas wrote:

> Dear All,
> 
> I am sorry let me rephrase my question.
> What I want to ask are
> 1. How do I check and approve a certificate sent by a web server in
> https request? So that I don't get error like :
>
javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorExce
> ption: No trusted certificate found.
> 
> 2. Can a HttpClient uses a certificate so that it can be verified by a
> webserver that it trying to connect? If this can be done please give
me
> an example?
> 
> Thank You.
>  
> Regards,
>  
> Rahmat Bagas Santoso

Please check out the SSL guide

http://jakarta.apache.org/commons/httpclient/sslguide.html

which should answer your questions.

As statet frequently on this list, HttpClient makes no assumptions about

the underlying SSL implementation. Please refer to the documentation of 
your SSL implementation for further information.

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




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


Mime
View raw message