|
If you
are running above Tomcat you do not have to make any changes to XML-RPC to
support SSL. SSL is a configuration issue (keystores, truststores) and not
a programming one. 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()); } Tim
|
- XML-RPC and SSL Tng Chee Hiong
- XML-RPC and SSL Tim McClure
- XML-RPC and SSL asier . axpe
- Re: XML-RPC and SSL Robert . Mattler
