2 Replies Latest reply on Oct 17, 2005 7:49 PM by jason.greene

    javax.net.ssl.trustStore / javax.net.ssl.keyStore???

    anders.hedstrom

      Hi,

      I've got an SLSB that acts as a web service client. It accesses the web service over HTTPS. I set the path and password to the truststore in the following system propeties javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword. This works fine when the application runs in JBoss 4.0.2. But, if I run it in JBoss 4.0.3 it doesn't work. I've looked at the source code for JBoss 4.0.3 and I could see that it looks for the following system properties for the path and password javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword. So if I change my application to use these properties instead everything works just fine.

      I've always thought that javax.net.ssl.trustStore[Password] was the system properties to use for the client side and javax.net.ssl.keyStore[Password] was for the server side. Am I wrong?

      Cheers

      //Anders =)