hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Roberts <simon.robe...@fifthweb.net>
Subject Re: HttpClient and multiple client certificates
Date Wed, 08 Jan 2003 22:00:24 GMT
> > What would be the "correct" way to use HttpClient in a situation where
we
> > have multiple client certificates, talking to the same server?  Register
a
> > bunch of Protocols, each of which had their own SSLSocketFactory?
>
> I guess this is the only way.

Nope, that doesn't work - MultiThreadedHttpConnectionManager uses >>host +
":" + port<< for the key for it's connection pool, disregarding the
protocol.  If I add a protocol-specific string to the key used in the
Protocols map, it seems to work okay.


Mime
View raw message