hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pkbharigopal <pkbharigo...@yahoo.com>
Subject Re: Where does HTTPClient store trusted certificate?
Date Thu, 26 Mar 2009 19:12:54 GMT


hari wrote:
> 
> I am not well versed, but found following:
> 
> HttpClient uses the default java SSL way of specifying the trust store.
> So, you can set the truststore related properties like:
> 
> System.setProperty("javax.net.ssl.trustStorePassword", password);
> System.setProperty("javax.net.ssl.trustStore", truststorefile);
> 
> If you don't specify these things, by default it checks for cacerts file
> in your JRE/lib/security folder.
> 
> You should import all trusted ca certs into that.
> 
> If they are other options, I am unaware.
> 


esu2 wrote:
> 
> Where does HTTPClient store trusted certificate?
> With browser, There already some trusted certificate installed , I can
> import my own trusted certificate too.
> Where are these certificate for HTTPClient? how do I import certificate
> which trusted by myself to HTTPClient?
> Thanks
> 

-- 
View this message in context: http://www.nabble.com/Where-does-HTTPClient-store-trusted-certificate--tp22712795p22728600.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message