function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chandrasekhar reddychandrasekhar reddy 

How to enable TLS encryption in API?

Hi,
I recently received an email from Salesforce as in below Knowledge Article (https://help.salesforce.com/apex/HTViewSolution?urlname=Salesforce-disabling-SSL-3-0-encryption&language=en_US&elq_mid=7926&elq_cid=19980259). I have a Soap web service written in SFDC and this service is called in Java web service using Enterprise wsdl and web service wsdl. As said in article, where should I enable TLS 1.0 in my API ? Do i need to enable in my Java web service or SFDC web service?
SonamSonam (Salesforce Developers) 
As you mentioned that you are using Salesforce from outside through our Enterprise WSDL, you need to make sure  ensure TLS 1.0 encryption or greater is enabled in your integration which is calling the Salesforce service.

 
chandrasekhar reddychandrasekhar reddy
Thank you so much for your reply. How to enable the TLS encryption ? Would you please give me some code snippet?
SonamSonam (Salesforce Developers) 
Please check the thread which gives you an idea as to how you can set it up to only support TLS:
http://stackoverflow.com/questions/26389899/how-do-i-disable-ssl-fallback-and-use-only-tls-for-outbound-connections-in-net