Our web application is sending the https request to an external service. We created a keystore with the relevant certificate inside. We located it to${jboss.server.home.dir}/conf/my.jks passing it to the application using -Djavax.net.ssl.trustStore=d:\jboss-5.1.0.GA\server\default\conf\my.jks-Djavax.net.ssl.trustStorePassword=password.
After all we're getting the following exception during the runtime: