You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Massimiliano Masi <ma...@math.unifi.it> on 2007/12/14 11:39:02 UTC

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: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org