Hi,
The exception says "No trusted certificate found". If the server
certificate is not a widely accepted certificate, i.e. if it doesn't
chain to one of the entries in JAVA_HOME/jre/lib/security/cacerts then
you have to set some system properties as follows.
System.setProperty("javax.net.ssl.trustStore","yourpath/keystore.jks");
System.setProperty("javax.net.ssl.trustStorePassword", "password");
System.setProperty("javax.net.ssl.trustStoreType","JKS");
Regards,
Dimuthu
On Tue, 2007-10-16 at 15:45 -0400, Rajesh, Peter (CLAIMS, WIP) wrote:
> Hi,
>
> I have deployed Axis 2 webserivce in Weblogic 8.1 server with SSL
> enabled and when I execute the simple java client to access the
> webservice below error is thrown
>
> Please help to resolve this issue.
>
>
> [java] org.apache.axis2.AxisFault:
> sun.security.validator.ValidatorException: No trusted certificate found
> .....................
> ....................
> Caused by: javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: No trusted certificate found
>
>
> Thanks & Regards,
>
> Peter Rajesh
>
>
>
> *************************************************************************
> This communication, including attachments, is
> for the exclusive use of addressee and may contain proprietary,
> confidential and/or privileged information. If you are not the intended
> recipient, any use, copying, disclosure, dissemination or distribution is
> strictly prohibited. If you are not the intended recipient, please notify
> the sender immediately by return e-mail, delete this communication and
> destroy all copies.
> *************************************************************************
>
--
http://wso2.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]