Thanks Dimuthu for you reply. After I add the System.setProperty with the proper keystore and password and if I execute the java test client I get below exception.
Any idea what is the reason for this error? Am I missing anything in the configuration? [java] org.apache.axis2.AxisFault: Must Understand check failed for header http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secex t-1.0.xsd : Security [java] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java :486) [java] at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out InAxisOperation.java:343) [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:389) [java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA xisOperation.java:211) [java] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163 ) [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528 ) [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508 ) Thanks & Regards, Peter Rajesh | 860-547-3881 -----Original Message----- From: Dimuthu [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 11:55 PM To: [EMAIL PROTECTED] Subject: Re: Axis 2 webservice in Weblogic 8.1 - SSLHandshakeException 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] ************************************************************************* 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. ************************************************************************* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]