commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cole" <sc...@camsbycbs.com>
Subject Re: Two-way SSL with HttpClient
Date Wed, 01 Jul 2009 13:30:29 GMT
Actually, there's a AuthSSLProtocolSocketFactory constructor that includes
the Keystore URL and password.

----- Original Message ----- 
From: "Steve Cole" <scole@camsbycbs.com>
To: "Commons Users List" <user@commons.apache.org>
Sent: Wednesday, July 01, 2009 9:28 AM
Subject: Re: Two-way SSL with HttpClient


> If you mean, can HttpClient present a client certificate to the server so
> the server can authenticate the client, then yes.
>
> Look at the SSL Guide and using AuthSSLProtocolSocketFactory. Use the
> AuthSSLProtocolSocketFactory.createKeyManagers method to setup the
> KeyManager array initialized from a keystore that contains the client
> certificate.
>
> ----- Original Message ----- 
> From: "Meeraj Kunnumpurath" <mkunnumpurath@googlemail.com>
> To: <user@commons.apache.org>
> Sent: Wednesday, July 01, 2009 9:07 AM
> Subject: Two-way SSL with HttpClient
>
>
> > Hi,
> > Can I do 2-way SSL with server authenticating the client with commons
> > HttpClient? If yes, does anyone have an example?
> >
> > Thanks
> > Meeraj
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>


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


Mime
View raw message