hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nishant Agrawal" <Nishant.Agra...@infogain.com>
Subject SSL over HTTPClient
Date Mon, 26 Dec 2005 17:09:36 GMT
Hi,

 

I use a custom SecureProtocolSocketFactory, similar to the one at
http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/httpclient/trun
k/src/contrib/org/apache/commons/httpclient/contrib/ssl/AuthSSLProtocolS
ocketFactory.java?view=markup
 

I provde it a keystore and a truststore, and corresponding passwords.

 

Now I do following :

 

HostConfiguration hostConfig = new HostConfiguration();
hostConfig.setHost("www.myurl.com", 443, myhttps);

 

In keystore I have lot many aliases, how does API find which alias to be
used for this specific URL(www.myurl.com <http://www.myurl.com/> ).

 

Regards,

Nishant Agrawal


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