axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hubble, Christopher" <>
Subject RE: SSL with Axis
Date Fri, 08 Oct 2004 15:03:40 GMT
I did all of this, but I also set clientAuth="true".  However, when I try to
connect with the client, I get Software caused
connection abort: recv failed

Any ideas?


-----Original Message-----
From: Venkat Reddy []
Sent: Thursday, October 07, 2004 10:37 AM
Subject: Re: SSL with Axis

Here is roughly how you can make Axis talk to tomcat using SS (or
atleast that's how i could make it work).

1. Setup a keystore for client
2. Setup a keystore for server
3. Export server's public key certificate to a file and import it into
client's keystore.
4. Export client's public key certificate to a file and import it into
server's keystore.
5. Edit tomcat's server.xml to add a Connector for SSL - 
    <Connector port="8443" minProcessors="10" maxProcessors="50"
acceptCount="100" scheme="https" secure="true">
      <Factory keystoreFile="<location>\server.keystore"
               clientAuth="false" protocol="TLS" />

6. Startup tomcat and make sure it listens on SSL by pointing your
browser to something like "https://<server>:8443/index.jsp".
7. Run axis client with the following JVM options -<location>\client.keystore<trustStorePassword>  // only requried to debug<location>\client.keystore<keyStorePassword>
8. Make sure you are using "https:" for all URLs while using Axis client.

Hope that helps
-- Venkat

On Thu, 7 Oct 2004 10:06:12 -0400, Hubble, Christopher
<> wrote:
> How do you enable SSL using Axis?  I know how to set up the client using a
> keystore, but how do you set up the server?  Is there a way to pass a
> keystore to it, or do you have to use the overall java keystore?
> Chris

View raw message