Hi all,
I recently found that if you are running above Tomcat you do not have
to make any changes to
XML-RPC to support SSL. If you are sending messages using the XML-RPC
client then
you have to make sure all the JVM system properties are set. They are:
System.setProperty("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");
System.setProperty("javax.net.ssl.keyStore","d:\\testssl\\client");
System.setProperty("javax.net.ssl.keyStorePassword","mcclure");
System.setProperty("javax.net.ssl.trustStore","d:\\testssl\\jssecacerts");
System.setProperty("javax.net.ssl.trustStorePassword","merlin");
System.setProperty("com.sun.net.ssl.dhKeyExchangeFix", "true");
try {
Security.addProvider((Provider)Class.forName(
SecurityTool.getSecurityProviderClass()).newInstance());
} catch (Exception ex) {
System.err.println ("Error: "+ex.getMessage());
}
BUT I found that the "SecurityTool" is a class of XMLRPC 2.0.1, it is
not supported by 3.0a1, can anyone tell me how to support SSL
in XMLRPC 3.0a1? Many thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]