Wednesday, January 11, 2017

Solving TLS error with SoapUI 5.3 and Salesforce

I faced an issue using the plain vanilla version of SoapUI 5.3 to connect to Salesforce while using the login method of the enterprise WSDL

Salesforce returns an error : UNSUPPORTED_CLIENT

Reading the error, it says that TLS1.0 has been disabled.

SoapUI 5.3 TLS error

You can fix this error with these steps

  1. go to the location where SOAP UI is installed (${HOME}/SoapUI/bin)
  2. edit the SoapUI-5.3.0.vmoptions file
  3. add this line to the end -Dsoapui.https.protocols=TLSv1.2
  4. save and close SoapUI-5.3.0.vmoptions
  5. close and reopen SoapUI. Try the login request again