ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhou, Jing (Jing)" <jingz...@lucent.com>
Subject I can support SSL in 2.0.1, but How to it in 3.0a1?
Date Mon, 12 Jun 2006 07:08:22 GMT
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: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org


Mime
View raw message