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 <[EMAIL PROTECTED]> 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
>

Reply via email to