Hi we have a problem with our WAS 7.5 production environment, we are getting the following error with an application that had implemented google recaptcha:
javax.net.ssl.SSLException: SSLSocketFactory is null. This can occur if javax.net.ssl.SSLSocketFactory.getDefault() is called to create a socket and javax.net.ssl.* properties are not set.
We have the following code:
System.setProperty("javax.net.ssl.keyStoreType","jks");
System.setProperty("javax.net.ssl.trustStoreType","jks");
System.setProperty("javax.net.ssl.keyStore","/jks/ClientKeyStore.jks");
System.setProperty("javax.net.ssl.trustStore","/jks/ClientTrustStore.jks");
System.setProperty("javax.net.debug","ssl");
System.setProperty("javax.net.ssl.keyStorePassword","password$");
System.setProperty("javax.net.ssl.trustStorePassword","password$");
SSLSocketFactory sslsocketfactory = (SSLSocketFactory)
SSLSocketFactory.getDefault();
In our certification environment everything is working fine, anyone had a similar issue ? thanks in advance.