If you are writing a http client you need to point to keystores from your code. We do it by setting up following System properties. *javax.net.ssl.trustStore*
*javax.net.ssl.trustStorePassword* *javax.net.ssl.keyStore* *javax.net.ssl.keyStorePassword* You can use following code to set those inside your client. *System.setProperty("javax.net.ssl.trustStore", "<path to trust store>");* *System.setProperty("javax.net.ssl.trustStorePassword", "<trust store password>");* *System.setProperty("javax.net.ssl.keyStore", "<path to keystore>");* *System.setProperty("javax.net.ssl.keyStorePassword", "<key store password>");* Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Apr 17, 2014 at 1:26 PM, Haack, Heidi <heidi.ha...@bankofamerica.com > wrote: > I am attempting to fix an error found with SSL Handshakes with some of > our endpoints and sample requests, and to do so, I’m writing my own > HttpClient class. However, there are some methods called from the original > HttpClient class that I haven’t needed to edit. Do you have the source for > these anywhere, so that I can access and pull from the original code for > this class? > > > > Thank you, > > > > Heidi Haack > > Integration Architecture > > (980) 386-3586 > > > ------------------------------ > This message, and any attachments, is for the intended recipient(s) only, > may contain information that is privileged, confidential and/or proprietary > and subject to important terms and conditions available at > http://www.bankofamerica.com/emaildisclaimer. If you are not the intended > recipient, please delete this message. > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev