Support Article
TLS 1.2 Connection failure for one of the nodes
SA-28260
Summary
User recently installed HFIX and configuration to communicate over web services to Salesforce over TLS 1.2.
The communication is working on earlier environments and also on most nodes in Production, but user is facing an error from only one node in Production.
The Connect-Soap is failing only from this node or log. On trying to test connection from Connect-Soap rule as well, user gets an error that TLS 1.2 SSL context not available.
Error Messages
To users, necessary interfaces show as failed when logged onto the bad node:
There are also error messages in the log: Fail: Service URL "http......" value is invalid. java.security.NoSuchAlgorithException: TLS1.2 SSLContext not available
Steps to Reproduce
Try test connection from connect-Soap of the bad node or try to perform any interfaces to SFDC on the bad node.
Root Cause
A defect or configuration issue in the operating environment.
The root cause is due to the fact that TLS 1.2 support only comes with JDK (Java Development Kit) 1.7 and the problem JVM (Java Virtual Machine) instance was running JDK 1.6.
Resolution
Make the following change to the operating environment:
Switch to JDK 1.7 for the problem JVM instance.
Published September 26, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.