Hi Ognjen,

I just like to point out to you, that

> -Djavax.net.ssl.trustStore=D:\java\HttpsTest\cert\keystore

leaves all instances of the same JVM with access to your webservice.

This is mainly a problem, when you wan't a servlet to gain access to a 
webservice, where the tomcat server will share the access with all the 
different servlets installed.

\pgj

> 
> 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]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to