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
 
 

Reply via email to