No auth verification in the AuthSSLProtocolSocketFactory provided.

It is done in the StrictSSLProtocolSocketFactory on the other hand

http://svn.apache.org/viewvc/jakarta/httpcomponents/oac.hc3x/trunk/src/contrib/org/apache/commons/httpclient/contrib/ssl/StrictSSLProtocolSocketFactory.java?view=markup
 

You can easily mix both.

christophe
 

> -----Message d'origine-----
> De : Massimiliano Masi [mailto:[EMAIL PROTECTED] 
> Envoyé : vendredi 14 décembre 2007 11:39
> À : [email protected]
> Objet : Hostname verification
> 
> Hello,
> 
> Maybe it is a FAQ, but I didn't find nothing on the web.
> 
> I am using the AuthSSLProtocolSocketFactory for having sslv3
> using axis2.
> 
> I get the instance like this:
> 
>       SSLContext sslcontext = SSLContext.getInstance("SSLv3");
> 
> but I would like to add the hostname verification. I really don't know
> where to put the verifyHostname and how to get the cn of the 
> certificate.
> 
> Is there an example?
> 
> Thank you very much,
> 
>         Massimiliano
> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to