Actually, there's a AuthSSLProtocolSocketFactory constructor that includes
the Keystore URL and password.
----- Original Message -----
From: "Steve Cole" <
scole@...>
To: "Commons Users List" <
user@...>
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@...>
> To: <
user@...>
> 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@...
> For additional commands, e-mail:
user-help@...
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@...
For additional commands, e-mail:
user-help@...