Did you configure both SOAP client and server in order to generate and configure certificates?
After you copy jsse.jar, jnet.jar, and jcert.jar into your Weblogic server's classpath, you need to generate and configure keys and certificates. I know on Linux you can use keytool utility to achieve
this.


-Daniel
Marty Haught wrote:

Hello,

I've been running up against a problem sending SOAP messages over https
with Apache SOAP on a Weblogic 6.1sp4 server.  I have been successfully
sending and receiving messages over http but here is the error I get
when sending the same message and call over https:

SSL error print out:[SOAPException: faultCode=SOAP-ENV:Client; msg=FATAL
Alert:HANDSHAKE_FAILURE - The handshake handler was unable to negotiate
an acceptable set of security parameters.;
targetException=javax.net.ssl.SSLHandshakeException: FATAL
Alert:HANDSHAKE_FAILURE - The handshake handler was unable to negotiate
an acceptable set ofsecurity parameters.]
 at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnectio
n.java:358)
 at org.apache.soap.messaging.Message.send(Message.java:123)
 at
com.colgate.copws.ws.MessageTerminal.sendCOPOrders(MessageTerminal.java:
93)
 at jsp_servlet._jsp.__index._jspService(__index.java:121)
 at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
 at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:262)
 at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:198)
 at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:2637)
 at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2359)
 at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)


I tried putting the jsse jars (jsse.jar, jnet.jar, jcert.jar) into the
classpath of weblogic's startup script prepending them before the
weblogic jars. When I did this the error changed to this:
SSL error print out:[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(SOAPHTTPConnectio
n.java:354)
at org.apache.soap.messaging.Message.send(Message.java:123)
at
com.colgate.copws.ws.MessageTerminal.sendCOPOrders(MessageTerminal.java:
93)
at jsp_servlet._jsp.__index._jspService(__index.java:121)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:262)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:321)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:198)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:2637)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2359)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)



Since I was unable to find any documentation on setting up Apache SOAP
in Weblogic I was wondering if I missed something for SSL? I am able to connect and receive data over SSL through a basic
HttpURLconnection.


Do any of you have any thoughts on a work around?  I can send more
information on the details if necessary.  Thanks!

Cheers,
Marty Haught






Reply via email to