Loading

How to Test Which SSL/TLS Ciphers Your Browser or API Client Supports When Connecting to Salesforce

Udgivelsesdato: Oct 9, 2026
Beskrivelse

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.

Løsning

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.

Create a User Report to Determine Users Using Weak Cipher Suites

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.

  1. Log in to the org and navigate to the Reports tab.
  2. Select New Report. From the Category menu on the left, select Administrative Reports.
  3. Select the Users report type under the Report Type Name column and click Start Report.
  4. In the Outline columns, add columns for Browser and TLS Protocol. Add a Group Rows for TLS Cipher Suite.
  5. Select Filters and set the Last Login filter to the period you'd like to review. The default of All Time is an acceptable filter.
  6. You can leave the View filter set to Active Users, or select one of the other options (Inactive Users, All Users).
  7. Add a filter for TLS Cipher Suite and select the cipher suite(s) identified in the response from Salesforce. Select Apply.
  8. Select Refresh to check results, or Save and Run the report. For example, a report might show that an org's Experience Cloud Site URL was accessed by 3 users via Internet Explorer, an unsupported browser, using the cipher ECDHE-RSA-AES256-SHA384.

Salesforce report grouped by TLS Cipher Suite showing users, browsers, and TLS protocol

Check Which Ciphers a Browser Supports

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.

Test Browser Cipher Support with a Third-Party Website

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.

Find the Cipher Used for a Connection in Chrome

Use these steps to see which cipher is actually used for a connection with the Chrome browser.

  1. Launch Chrome.
  2. Enter the URL for the site.
  3. Select the ellipsis (three dots) in the top-right.
  4. Select "More tools" > "Developer tools" > "Security" tab.
  5. Review the "Connection" section.

Chrome Developer Tools Security tab showing the Connection section with the cipher used

Find the Cipher Used for a Connection in Firefox

Use these steps to see which cipher is actually used for a connection with the Firefox browser.

  1. Launch Firefox.
  2. Enter the URL for the site.
  3. Select the "lock" icon to the left of the URL.
  4. Select "More Information".
  5. Select the "Security" tab.
  6. Review the Technical details section.

Firefox lock icon menu with the More Information option

Firefox Page Info window Security tab with the Technical details section

Test Ciphers for API Calls

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.

OpenSSL: Successful Connection

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

Terminal output of the openssl s_client command with cipher ECDHE-RSA-AES128-GCM-SHA256 showing a successful connection

OpenSSL: Unsuccessful Connection

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

Terminal output of the openssl s_client command with cipher PSK-AES128-CBC-SHA showing an unsuccessful connection

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

Terminal output of the openssl s_client command with cipher ECDHE-ECDSA-AES128-GCM-SHA256

Prevent User Access with Weak Ciphers

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.

Vidensartikelnummer

000395699

 
Indlæser
Salesforce Help | Article