+ Start a Discussion

Oauth + TLS 1.0 random failures

I am building a plugin that connects to Salesforce via OAuth. It is working flawlessly on one server, but on a customers it is randomly getting the "Stronger security is required" TLS error message from Salesforce.
It is doing a CURL request to get an access token from Salesforce. Sometimes it works, sometimes it gets the TLS 1.0 error.
The only difference I can see from my own server (which always works) is that the customer is using "NSS/3.21 Basic ECC" for cURL (my own server is "OpenSSL/1.0.1f").

Does anyone know why such sporadic behaviour might be happening? I am out of ideas.
SandhyaSandhya (Salesforce Developers) 
Hi ,

Try to enable TLS1.1 and TLS1.2 .

Please refer below document for more information.

Hope this helps you!

Please accept my solution as Best Answer if my reply was helpful. It will make it available for other as the proper solution.

Thanks and Regards