axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Mall <>
Subject Re: A concrete axis + ssl client example.
Date Fri, 16 Jun 2006 15:37:44 GMT
On Friday 16 June 2006 21:07, wrote:
> Hi,
> I guess if you use the stubs generated using WSDL2Java then there is
> nothing much to do. Set the trust store property and trust store
> password property before invoking the client. Just leave the other
> properties as default it self.
>         System.setProperty("",
> "c:\\TraceLogs\\tempstore.jks");
> System.setProperty("", "temp123");
For client authentication you usually the the keyStore and 
keyStorePassword properties not the trustStore. The keyStore contains 
your key and the corresponding certificate presented to the server. The 
trustStore contains certificates of the servers you trust. Actually 
typically not the certificates itself but the CA certificates. The CA 
trustStore that comes with your JDK/JRE contains many of the commonly 
used CA certificates (Verisign and the like) and normally you don't 
need to make any changes to it.

        System.setProperty("", "<path to 
System.setProperty("", "<password>");

works for me to use SSL client authentication.

The biggest complication typically is to get your keyStore sorted out. 
The details of that depend on how you your private/public key pair and 
from that your certificate is issued to you. This topic is however way 
off this list.

> -Subir S
> -----Original Message-----
> From: ip vp []
> Sent: Wednesday, June 14, 2006 6:56 PM
> To:
> Subject: A concrete axis + ssl client example.
> Can somebody supply a concrete example of axis client accessing
> webservice
> using ssl and a client certificate ?
> regards


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message