Hi, I am trying to send SOAP request through SSL, but I get
ERROR [STDERR] (Thread-202:) javax.xml.soap.SOAPException: java.net.SocketException:
Default SSL context init failed: null
2004-11-03 16:33:44,288 85448378 ERROR [STDERR] (Thread-202:) at
org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:110)
Here is my codes to set the SystemProperty,
System.setProperty("javax.net.ssl.trustStore","/home/ganglu/stores/truststore/cacerts");
System.setProperty("javax.net.ssl.keyStore", "/home/ganglu/stores/client.keystore");
System.setProperty("javax.net.ssl.keyStoreType", "jks");
System.setProperty("javax.net.ssl.keyStorePassword", "dialogue");
System.setProperty("java.protocol.handler.pkgs", "javax.net.ssl");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
It is working outside Jboss. Anybody got idea?
Thanks in advance.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853761#3853761
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853761
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development