Hi,
I’m trying to use an axis client to consume an https webservice.
I set the following properties
System.setProperty("axis.socketSecureFactory",
"org.apache.axis.components.net.SunJSSESocketFactory");
System.setProperty("javax.net.ssl.keyStore", "C:\\Program
Files\\Java\\jdk1.5.0_14\\.keystore");
System.setProperty("javax.net.ssl.passwordStore", "");
System.setProperty("javax.net.ssl.trustStore", "C:\\Program
Files\\Java\\jdk1.5.0_14\\jre\\lib\\security\\cacerts");
But axis complains because it can’t find the keystore file in my user.home
java.io.FileNotFoundException: D:\Documents and Settings\<user>\.keystore (The
system cannot find the file specified)
I thought the purpose of setting the "javax.net.ssl.keyStore" property was to
tell axis not to look in the default place for the keystore, so why is it
looking in my user.home folder, and how can I change that?