I think you may have to create a keystore (using keytool utility and add server certificate to this keystore. In the code you can set these parameters. System.setProperty("javax.net.ssl.trustStore", keystorefile); System.setProperty("javax.net.ssl.trustStorePassword", keystorepassword);
Hope this helps. Thanks Pravin -----Original Message----- From: Steve D George [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 9:31 AM To: [EMAIL PROTECTED] Subject: SOAP over SSL with IBM JSSE Hi, I'm trying to send a SOAP message over SSL from a servlet running under websphere 4.0.4. Websphere uses the IBM implementation of JSSE and while I believe that this shouldn't cause me any problem, I'm getting the following error when I invoke the SOAP call. Caught SOAPException (SOAP-ENV:Client): Error opening socket: java.net.SocketException: SSL implementation not available [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: SSL implementation not available; targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: SSL implementation not available] at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:354) at org.apache.soap.rpc.Call.invoke(Call.java:248) In my servlet I have defined the SSL handler/provider as follows and I believe that is all I should need to do. System.setProperty("java.protocol.handler.pkgs", "com.ibm.net.ssl.internal.www.protocol"); Security.addProvider(new com.ibm.jsse.JSSEProvider()); This may well be more of an SSL question but I just wanted to confirm that SOAP should be just as happy using the IBM JSSE jar as it is using the Sun version? Thanks, Steve. Stephen George Advisory IT Specialist Pervasive/Wireless Emerging Business Opportunities IBM Certified for e-business - Solution Designer email: [EMAIL PROTECTED] ext: 01962 816793 || int: 246793 || mobex: 267978