Hi Peter,
Thanks for a tip. I tried to create simple java app to connect to local
Tomcat over HTTPS, and figure out what was the problem. I needed to:
1. export Tomcat's self-signed certificate
2. import that certificate into new (client) keystore
3. call a client with an
-Djavax.net.ssl.trustStore=D:\java\HttpsTest\cert\keystore
option. After that, the test client worked, as well as the Axis2 client.
Maybe this three simple steps could be added to Axis2 docs.
Regards,
Ognjen
Peter Gylling Jørgensen wrote:
Hi Ognjen,
Behind the scene the AXIS2 client deploys the HttpClient. Try to connect directly using a simple HttpClient to establish the needed tweeks to connect, this way you can focus on the SSL/TLS connection.
For guidelines see: http://jakarta.apache.org/commons/httpclient/sslguide.html
Eventhough you set clientAuth="false" the client must authenticate the server, ie the client must have the servers credentials in the truststore. If in doubt you can add SSL debug info using this argument to the JVM: -Djavax.net.help=ssl:handshake:data
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]