Re: Consuming web services over SSL using AXIS 1.2.1 -- How to?

2005-08-24 Thread Kr
1. import the service provider certificate in ur trust store.

2. set below properties in ur web services client program: 

System.setProperty(java.protocol.handler.pkgs,com.ibm.net.ssl.internal.www.protocol);
Security.addProvider(new JSSEProvider());

System.setProperty(javax.net.ssl.trustStore,mykeystore.ks);
System.setProperty(javax.net.ssl.trustStorePassword, mystorepassword);

// if u behind a firewall proxy then set below
System.setProperty(http.proxyHost, 140.4236.2435.47);
System.setProperty(http.proxyPort, 31248);


RE: Consuming web services over SSL using AXIS 1.2.1 -- How to?

2005-08-24 Thread Gary Zhu
Thank you very much.

Gary

-Original Message-
From: Kr [mailto:[EMAIL PROTECTED] 
Sent: August 24, 2005 8:53 AM
To: axis-user@ws.apache.org
Subject: Re: Consuming web services over SSL using AXIS 1.2.1 -- How to?

1. import the service provider certificate in ur trust store.

2. set below properties in ur web services client program: 

System.setProperty(java.protocol.handler.pkgs,com.ibm.net.ssl.interna
l.www.protocol);
Security.addProvider(new JSSEProvider());

System.setProperty(javax.net.ssl.trustStore,mykeystore.ks);
System.setProperty(javax.net.ssl.trustStorePassword,
mystorepassword);

// if u behind a firewall proxy then set below
System.setProperty(http.proxyHost, 140.4236.2435.47);
System.setProperty(http.proxyPort, 31248);