Hi,
I have an SLSB that consumes a webservice over HTTPS. I have imported the certificate to a truststore. Right now I have hardcoded the location of the truststore in my EJB
System.setProperty("javax.net.ssl.trustStore", "d:\\mytrustore");
System.setProperty("javax.net.ssl.trustStorePassword","pwd");
System.setProperty("javax.net.ssl.trustStore", this.getClass().getResource("mytrustore").getFile()
);
System.setProperty("javax.net.ssl.trustStorePassword","pwd");
System.setProperty("javax.net.ssl.trustStore", "mytrustore");
System.setProperty("javax.net.ssl.trustStorePassword","pwd");