You need to sign in to do that
Don't have an account?
Ishan Malik
Use TLS 1.1 or higher when connecting to Salesforce using https.
I am using .NET Framework 4.5.2. I have generated enterprise wsdl as per given instructions
Use TLS 1.0, 1.1, 1.2 is already checked from Internet options -> Advanced
Also, I am not getting any option in critical update section for Require TLS 1.1 or higher for HTTPS connections
but still I am getting following error:
UNSUPPORTED_CLIENT: TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https.
I have an urgent requirement. Please answer asap.
May I suggest you to please check with below link from forums community which might help you to accelerate on the above requirement.
- https://developer.salesforce.com/forums/?id=906F0000000kFrRIAU
- https://help.salesforce.com/articleView?id=TLS-1-0-Disablement-Critical-Update-Console-CRUC-Setting&language=en_US&type=1
- https://help.salesforce.com/articleView?id=000221207&type=1
Best Regards,Nagendra.
Thanks Nagendra.
Just add the following line into constructor
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;