Hi I have xml-rpc running in tomcat server. I have enabled https. I want to access it over https but Im getting error on client side. IO am running client using following command
%JAVA_HOME%\bin\java -cp classes;%JARS%
com.edb.usm.test.SecureXmlRpcTest https://localhost 8443 .keystore changeit where %JAR% contains reference to commons-codec-1.3.jar;commons-httpclient-3.0.1.jar;commons-logging-1.0.4.jar
;edb-commons.jar;ws-commons-util.jar;xmlrpc-3.0a1.jar;xmlrpc-1.2-b1.jar
and getting following error.
java.io.IOException: sun.security.validator.ValidatorException: No trusted certificate found java.io.IOException
: sun.security.validator.ValidatorException: No trusted certificate found at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java
:163) at com.edb.usm.test.SecureXmlRpcTest.main(SecureXmlRpcTest.java:98) Can Any one help me on this My client programm is
/** * Tests a secure XML-RPC call (using Apache XML-RPC). * * version $Revision: 1.1 $ * author Daniel Kha, <a href="mailto:yorku.ca">dkhayorku.ca">yorku.ca">
dkhayorku.ca</a> */ public class SecureXmlRpcTest { public static final String SECURE_ALGORITHM = "SunX509"; public static final String SECURE_PROTOCOL = "SSL"; public static final String KEYSTORE_TYPE = "JKS";