You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Peter <pe...@xml-asia.org> on 2002/05/02 14:20:47 UTC

SOAP service over SSL

Hi All,

I try to config the soap server and tomcat to run SOAP server over SSL. I follow the  instruction about how to config the tomcat to support SSL and client authentication.  
In tomcat configuration, I have set 
<Parameter name="clientAuth" value="true"/>
After that, I try to use client program to call the soap service and the server side prompt error.

Problem: java.lang.reflect.InvocationTargetException: java.net.SocketException: Connection aborted by peer: socket write error 
Solution: This problem occurs because (for some reason) the server cannot authenticate the client. 

I know we can by pass the error by changing the following line in server.xml: 
<Parameter name="clientAuth" value="false"/>

But, it is not the solution. Any idea about the problem? In fact, I already import the client cert into the server keystore and the server cert into the client keystore. 

Thanks

brgds Peter