axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Gylling Jørgensen <...@frv.dk>
Subject SV: SV: Axis2 1.1.1 and HTTPS problem
Date Tue, 17 Apr 2007 11:12:16 GMT
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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message