commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "otisg" <ot...@iVillage.com>
Subject Re: [httpclient]: support for client side certificate
Date Mon, 01 Apr 2002 19:06:24 GMT
Isn't that what Bill Cutshall suggested the other day?
I didn't see any follow-ups from HttpClient commiters, but if it helps
with HTTPS, I'm all for it, as I know I will need HTTPS support soon.

Otis
_______________________________________________________________
Get your own FREE email account at iVillage.com!
http://webmail.ivillage.com 

<-----Original Message----->
> 
> From: Xiaowei Jiang
> Sent: 3/29/2002 2:26:00 PM
> To: commons-dev@jakarta.apache.org
> Subject: [httpclient]: support for client side certificate
> 
> Hi, we need client side certificate support for https. It looks we can
do
> this easily with the following changes:
> 
> 1) in HttpConnection, add a method setSocketFactory(SSLSocketFactory
> factory).
> In HttpConnection.open, use factory.createSocket(host,port) instead of
> SSLSocketFactory.getDefault().createSocket(host,port);
> 
> So the user can initialize the ssl socket factory with the appropriate
> certificate.
> 
> 2) in HttpState and HttpSharedState, add a member SSLContext and
expose it.
> 
> 3) in HttpClient and HttpMultiClient, use the SSLContext from
HttpState to
> get the SSLScoketFactory and pass it to HttpConnection.
> 
> How do others think about it? I can post the patch if others agree. It
would
> be nice if we can get this in the proposed beta. Thanks!
> 
> -Xiaowei
> 
> --
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
> 
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message