We are getting issues trying to invoke a secure service from one of our application servers. Here is the prime error
java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory.After a bit of research, I came to a conclusion that I will need to change the socket factories in APPServer_Home/java/jre/lib/security/java/security file to use the Default JSSE factoried rather than Websphere Socket factories
# Default JSSE socket factories
#ssl.SocketFactory.provider=com.ibm.jsse2.SSLSocketFactoryImpl
#ssl.ServerSocketFactory.provider=com.ibm.jsse2.SSLServerSocketFactoryImpl
# WebSphere socket factories (in cryptosf.jar)
ssl.SocketFactory.provider=com.ibm.websphere.ssl.protocol.SSLSocketFactory
ssl.ServerSocketFactory.provider=com.ibm.websphere.ssl.protocol.SSLServerSocketFactory
Since this is a shared environment, and this needs to be done at a profile level I am a bit hesitant. Can this be changed more at a jvm level, may be add them as a custom property or any other alternative.
I am at WAS 7.0.0.29 and here is my java version
java version "1.6.0_65"
Java(TM) 2 Runtime Environment, Standard Edition (IBM build 1.6.0_65-b14 19_Nov_2013_12_51 solaris sparcv9 (SR15+IX90131+IX90132))
Java HotSpot(TM) Server VM (build 20.65-b04, mixed mode)
IBM Java ORB build orb60ifx-20131001.01 (SR15_IX90131_IX90132)
XML build XL TXE Java 1.0.36
XML build IBM JAXP 1.4.10
XML build XML4J 4.5.22
If there is no alternative, is it safe to change this and is there any other additonal config I need to take care of?
Thanks a lot in ADVANCE