Sun One WS 6.1 + Axis SSL
Hello.
I'm using Sun One Web Server 6.1 SP4 and I'm tying to configure ssl cert. I have to use it in my client connection with apache axis. I've imported the certificate from console (security -> install certificate):
Some code i'm using:
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.setProperty("javax.net.ssl.trustStore", "/opt/SUNWwbsvr/alias/https-server-key3.db");
System.setProperty("javax.net.ssl.keyStore", "/opt/SUNWwbsvr/alias/https-server-key3.db");
System.setProperty("javax.net.ssl.keyStorePassword", "myPass);
System.setProperty("javax.net.ssl.keyStoreType", KeyStore.getDefaultType());
System.setProperty("java.security.debug", "all");
Or do i have to make the key store my self with jvm keytool?
Error:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.SocketException: Default SSL context init failed: null
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Default SSL context init failed: null
Please help :)

