[esb-users] SSL Failed to locate keystore '/keystore'

Alessandro Ilardo ilardo.a at virtual-lab.eu
Thu Nov 27 08:40:33 EST 2008


I'm working on my own first ESB project.
It should simply forward a webservice request to a sevice provider which 
use SSL (self signed ceritifcate).
The problem so far is this:

Caused by: org.jboss.soa.esb.ConfigurationException: Failed to locate 
keystore '/keystore'.

I've done all was in my knoledge, generating the keystore and truststore 
with keytool.

On the startup the JBoss server 4.2.2 takes these jvm properties

JAVA_OPTS="$JAVA_OPTS 
-Djavax.net.ssl.keyStore=/opt/jboss-4.2.2.GA/server/default/conf/localhost.keystore
JAVA_OPTS="$JAVA_OPTS -Djavax.net.ssl.keyStorePassword=xxxx
JAVA_OPTS="$JAVA_OPTS 
-Djavax.net.ssl.trustStore=/opt/jboss-4.2.2.GA/server/default/conf/localhost.truststore
JAVA_OPTS="$JAVA_OPTS -Djavax.net.ssl.trustStorePassword=xxxxxx

 
But I still got the error.
Can anyone give me an help please.

Thanks in advance
Alessandro Ilardo
Java Technical Consultant
Phone +44 (0) 20 8144 0150 Mobile +44 (0) 781 780 7257
Mobile +39 347 625 01 34 Web www.virtual-lab.eu




More information about the esb-users mailing list