Wednesday, March 23, 2011

How to make Java Bench work for HTTPS

Inorder to make Javabench work with HTTPS, you need to follow the below given steps

First extract the cert from the client-truststore of ESB
keytool -export -alias wso2carbon -file wso2carbon.crt -keystore client-truststore.jks

Then import the wso2esb.crt to java's cacert
keytool -import -alias wso2carbon -file "/home/ESB/3.0.1/wso2esb-3.0.1/resources/security/wso2carbon.crt" -keystore /opt/software/java/SUN_JDK-1.6/jdk1.6.0_21/jre/lib/security/cacerts


S. Jabbar said...

Something that I just started working on is relaying messages to a WebService on https.

SOAPUI client <--> WSO2 ESB (just log and pass the message) <--> HTTPS webservice.

This is a useful post to have it in my bag.

Evan said...

Hi Jabbar,

Glad to know it was useful.