Tuesday 5 July 2016

Salesforce disabling TLS 1.0 Solution


As we all know Salesforce disabled TLS 1.0 so any inbound connections to or outbound connections from your Salesforce org will need to use the TLS 1.1 or TLS 1.2 encryption protocol

So if have been going through below issue (like me)

Why do I see the error: TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https

& if you are in Summer'16 then Here is the solution for 

1. Eclipse: 
In your eclipse folder, there should be eclipse.ini file Please open file and add below 
keyword
-Dhttps.protocols=TLSv1.1,TLSv1.2


2. Migration Tool Like ANT: 

Add below variable in environment variables. 
Variable Name : ANT_OPTS  
Variable value  : -Dhttps.protocols=TLSv1.1,TLSv1.2