Hi,
   This is in reply to someone's post in the list. I thought it might help others.
    I faced the same problem as you. A little bit (3 days) of patience helped. I had Axis 1.1 running under Tomcat 5.0.27.
 
Many articles are available on the internet for using HTTPS
especially when client authenticates the server but little info on server authenticating the client.
 
I assume that you have the key as well as the keystore generated and appropriate changes have been made to server.xml. In my case, here's a snippet of changes to server.xml
 
 
<Connector port="8443"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" debug="0" scheme="https" secure="true"
               clientAuth="true" keypass="changeit" keystoreFile="c:\test\server.keystore" sslProtocol="TLS" />
 
But this alone won't get the HTTPS going.
 
Anyways, the trick was to start Tomcat   with the following parameters seems like server.xml changes doesn't help:

java -Djavax.net.ssl.trustStore=c:\test\client.keystore -Djavax.net.ssl.trustStorePassword=changeit    -Djavax.net.debug=true 

-Djavax.net.ssl.keyStore=c:\test\client.keystore -Djavax.net.ssl.keyStorePassword= changeit

 

I assume the client is using HTTPS to make calls.

 

Let me know if this helps.

 

Sunil Kothari

Majoris Systems

Reply via email to