You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Jonathan Chawke <j_...@hotmail.com> on 2001/04/17 15:34:31 UTC

Re: SOAP over SSL

Hello there,
I've taken the liberty of compiling the Word document on SOAP over SSL 
produced by Peter Glynn and Darrell Drake into HTML, and have also made a 
couple of additions/updates arising from my own experiences.
Hopefully it will be useful to someone!
Jonathan.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Re: SOAP over SSL

Posted by Alex Alvarez <al...@limelight-tech.com>.
Hi,
I just wanted to contribute to the Troubleshooting section.
I found a solution for the Socket Write Error (that at least worked for me)

"Socket Write Error
Problem: java.lang.reflect.InvocationTargetException: java.net.SocketException: Connection aborted by peer: socket write error "

Instead of disabling client authentication on tomcat, I specified the client keystore in the client program, by adding the following lines:

System.setProperty("javax.net.ssl.keyStorePassword", "myPassword");
System.setProperty("javax.net.ssl.keyStoreType", "jks");
System.setProperty("javax.net.ssl.keyStore", "C:\\jdk1.3\\bin\\client.keystore");

Even though the keystore and truststore can be the same file, it seems like they both have to be specified explicitly.

Regards
Alex Alvarez

  ----- Original Message ----- 
  From: Jonathan Chawke 
  To: soap-user@xml.apache.org 
  Sent: Tuesday, April 17, 2001 6:34 AM
  Subject: Re: SOAP over SSL 


  Hello there,
  I've taken the liberty of compiling the Word document on SOAP over SSL 
  produced by Peter Glynn and Darrell Drake into HTML, and have also made a 
  couple of additions/updates arising from my own experiences.
  Hopefully it will be useful to someone!
  Jonathan.

  _________________________________________________________________________
  Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
  For additional commands, email: soap-user-help@xml.apache.org

Re: SOAP over SSL

Posted by Alex Alvarez <al...@limelight-tech.com>.
Hi,
I just wanted to contribute to the Troubleshooting section.
I found a solution for the Socket Write Error (that at least worked for me)

"Socket Write Error
Problem: java.lang.reflect.InvocationTargetException: java.net.SocketException: Connection aborted by peer: socket write error "

Instead of disabling client authentication on tomcat, I specified the client keystore in the client program, by adding the following lines:

System.setProperty("javax.net.ssl.keyStorePassword", "myPassword");
System.setProperty("javax.net.ssl.keyStoreType", "jks");
System.setProperty("javax.net.ssl.keyStore", "C:\\jdk1.3\\bin\\client.keystore");

Even though the keystore and truststore can be the same file, it seems like they both have to be specified explicitly.

Regards
Alex Alvarez

  ----- Original Message ----- 
  From: Jonathan Chawke 
  To: soap-user@xml.apache.org 
  Sent: Tuesday, April 17, 2001 6:34 AM
  Subject: Re: SOAP over SSL 


  Hello there,
  I've taken the liberty of compiling the Word document on SOAP over SSL 
  produced by Peter Glynn and Darrell Drake into HTML, and have also made a 
  couple of additions/updates arising from my own experiences.
  Hopefully it will be useful to someone!
  Jonathan.

  _________________________________________________________________________
  Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
  For additional commands, email: soap-user-help@xml.apache.org

Re: SOAP over SSL

Posted by Ryo Neyama <ne...@trl.ibm.co.jp>.
I committed the document to the CVS repository as
"xml-soap\java\docs\install\FAQ_Tomcat_SOAP_SSL.html."

Thanks.
    Ryo Neyama @ IBM Research, Tokyo Research Laboratory
    Internet Technology
    neyama@trl.ibm.co.jp
--
From: "Jonathan Chawke" <j_...@hotmail.com>
To: <so...@xml.apache.org>
Sent: Tuesday, April 17, 2001 10:34 PM
Subject: Re: SOAP over SSL


> Hello there,
> I've taken the liberty of compiling the Word document on SOAP over SSL
> produced by Peter Glynn and Darrell Drake into HTML, and have also made a
> couple of additions/updates arising from my own experiences.
> Hopefully it will be useful to someone!
> Jonathan.




---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: SOAP over SSL

Posted by Ryo Neyama <ne...@trl.ibm.co.jp>.
I committed the document to the CVS repository as
"xml-soap\java\docs\install\FAQ_Tomcat_SOAP_SSL.html."

Thanks.
    Ryo Neyama @ IBM Research, Tokyo Research Laboratory
    Internet Technology
    neyama@trl.ibm.co.jp
--
From: "Jonathan Chawke" <j_...@hotmail.com>
To: <so...@xml.apache.org>
Sent: Tuesday, April 17, 2001 10:34 PM
Subject: Re: SOAP over SSL


> Hello there,
> I've taken the liberty of compiling the Word document on SOAP over SSL
> produced by Peter Glynn and Darrell Drake into HTML, and have also made a
> couple of additions/updates arising from my own experiences.
> Hopefully it will be useful to someone!
> Jonathan.




---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: SOAP over SSL

Posted by Ryo Neyama <ne...@trl.ibm.co.jp>.
I committed the document to the CVS repository as
"xml-soap\java\docs\install\FAQ_Tomcat_SOAP_SSL.html."

Thanks.
    Ryo Neyama @ IBM Research, Tokyo Research Laboratory
    Internet Technology
    neyama@trl.ibm.co.jp
--
From: "Jonathan Chawke" <j_...@hotmail.com>
To: <so...@xml.apache.org>
Sent: Tuesday, April 17, 2001 10:34 PM
Subject: Re: SOAP over SSL


> Hello there,
> I've taken the liberty of compiling the Word document on SOAP over SSL
> produced by Peter Glynn and Darrell Drake into HTML, and have also made a
> couple of additions/updates arising from my own experiences.
> Hopefully it will be useful to someone!
> Jonathan.