The Web services gateway can invoke Web services that include https:// in their addresses, if the Java and WebSphere security properties are configured appropriately. This means that one gateway can send a SOAP over HTTPS message direct to another gateway, rather than exporting services and having clients invoke them using HTTPS.
Why and when to perform this task
To enable your gateway to send and receive SOAP/HTTPS messages, confirm that your Java and WebSphere security properties are configured as described in the following steps:
Steps for this task
security.provider.1=sun.security.provider.Sun security.provider.2=com.ibm.jsse.IBMJSSEProvider
The order is significant. The Sun security provider must come before the IBM provider.
// truststore location System.setProperty("javax.net.ssl.trustStore", "your_truststore_root_directory/TestSSL/key.jks"); // set truststore password System.setProperty("javax.net.ssl.trustStorePassword", "your_truststore_password"); //use ibm reference implementation System.setProperty("java.protocol.handler.pkgs", "com.ibm.net.ssl.internal.www.protocol");