axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upul Godage" <upulg....@gmail.com>
Subject Re: Axis1 1.3 Client side configuration for https end points
Date Thu, 06 Mar 2008 15:08:35 GMT
You have to give the keystore which has the certificate which can validate
the server certificate using the following properties.

System.setProperty("javax.net.ssl.trustStore", "path/to/truststore");
System.setProperty("javax.net.ssl.trustStorePassword", "password");"

Upul

On Thu, Mar 6, 2008 at 7:34 PM, lucky <unluckyzz@gmail.com> wrote:

> Hi,
> I configured my Tomcat 5.0 for https.I am able to deploy Axis2 1.3 and can
> access admin and other pages,service end points are also shown as https and
> I am able to invoke getVersion of verion service through browser.
> I am also able to run a sample service without https on same server.
> However when I access services using https from clients its fails giving
> validation error.
> Exception in thread "main" org.apache.axis2.AxisFault:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
>
> I understand that I need to do some configuration on client side also. Can
> some one tell me what are those steps and if there is any clear
> article/tutorial on that.
> Any help is much appreciated.
> Thanks a lot
>

Mime
View raw message