You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by tu...@employease.com on 2001/03/19 20:27:20 UTC

SSL Exception

When I try to run a java client I get following exception. I have included
the JSSE stuff that I use at the end of the exception.
This is urgent. Any helpwould be appreciated
Thanks in advance
Tushar

Ijava.lang.reflect.InvocationTargetException: javax.net.ssl.SSLException:
Unrecognized SSL handshake.
	at
com.sun.net.ssl.internal.ssl.InputRecord.read([DashoPro-V1.2-120198])
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
	at
com.sun.net.ssl.internal.ssl.AppOutputStream.write([DashoPro-V1.2-120198])
	at java.io.OutputStream.write(Unknown Source)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake([DashoPro-V1.2-120
198])
	at
org.apache.soap.util.net.SSLUtils.buildSSLSocket(SSLUtils.java:98)
	at java.lang.reflect.Method.invoke(Native Method)
	at
org.apache.soap.util.net.HTTPUtils.buildSocket(HTTPUtils.java:117)
	at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:165)
	at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.ja
va:208)

    System.setProperty("javax.net.ssl.trustStore",arg[1]);
 
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.ww
w.protocol");
    java.security.Security.addProvider(new
com.sun.net.ssl.internal.ssl.Provider());
    


--------------------------------------------------------------
Tushar Dave
Employease Inc.
Phone: 404-495-5948
Email: tushar.dave@employease.com
--------------------------------------------------------------