TLS uses cipher suites to encrypt and secure communication between a client and a Salesforce server. Over time, new cipher suites are created for stronger encryption, while older suites are deemed weak and are no longer recommended.
The receiving Salesforce server decides which cipher suite to use for a TLS connection, based on the list of ciphers the client sends and the server's own list. The server picks the first cipher from its own list (in order of configuration) that also appears on the client's list. If no match is found between the two lists, the TLS connection cannot be established.
This article explains how to identify users connecting to Salesforce with weak cipher suites, how to test which ciphers a browser or API client actually supports, and how to prevent user access with weak ciphers.
If you receive an email from Salesforce indicating weak cipher suite use in the org, you can create a report to determine which users or integrations are using weak ciphers.
Modern browsers support all recommended, secure cipher suites, and even some weak cipher suites for backward compatibility. Browser vendors manage which ciphers are usable through browser updates.
If a given browser is unable to use any supported cipher, contact the IT department that manages the device the browser is running on.
Third-party websites can report which cipher suites a local browser supports, based on the information exchanged when the connection is established. For example, the Qualys SSL Labs Browser Test shows this under its "Cipher Suites" section.
Use these steps to see which cipher is actually used for a connection with the Chrome browser.
Use these steps to see which cipher is actually used for a connection with the Firefox browser.
The ciphers used when making API calls depend on the tool used to make the calls. For example, cURL uses the OpenSSL toolkit. The commands below test whether an API call can be made from a given host using a specific cipher.
Note: This only tests that the specified cipher works. The API tool making the call still needs to be checked to confirm it supports the cipher in question.
If your tests fail, contact the IT department that manages your device, or the developer team that manages the code making the API callout, to identify the issue.
A successful connection outputs several details about the connection, including the TLS/SSL cipher used. The following command tests a connection to the na202.salesforce.com server on port 443 using the cipher ECDHE-RSA-AES128-GCM-SHA256:
openssl s_client -connect na202.salesforce.com:443 -cipher ECDHE-RSA-AES128-GCM-SHA256
An unsuccessful connection outputs an error such as "no cipher match" or "sslv3 alert handshake failure". The following command tests the same server using the cipher PSK-AES128-CBC-SHA:
openssl s_client -connect na202.salesforce.com:443 -cipher PSK-AES128-CBC-SHA
The following command tests the same server using the cipher ECDHE-ECDSA-AES128-GCM-SHA256:
openssl s_client -connect na202.salesforce.com:443 -cipher ECDHE-ECDSA-AES128-GCM-SHA256
If you're currently using Shield Event Monitoring, you can use Enhanced Transaction Security to block user logins that use weak ciphers. Salesforce developers can reference this example: Using Apex to Restrict User Login by Cipher Suite.
000395699

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.