In Hyperforce, each Salesforce domain listed here has a separate HTTPS certificate. To serve the correct certificate, Hyperforce requires web browsers and API callers to specify the desired domain by including a Service Name Indication (SNI) extension in the mTLS ClientHello message. You can read more about SNIs on the Cloudflare website.
In most situations, certificate handling is transparent for Hyperforce customers. Modern web browsers consistently include SNI in their TLS ClientHello messages as part of the SSL handshake with the Salesforce server. And in the absence of SNI, Hyperforce returns a default certificate that supports all *.my.salesforce.com and *.sandbox.my.salesforce.com domains. This covers most use cases.
In a small number of cases, users experience HTTPS handshake errors after migrating to Hyperforce. These errors can occur when:
In both situations, Salesforce returns an HTTPS certificate that doesn’t cover the domain that the API client or the CDN was expecting, resulting in an HTTPS certificate mismatch.
This article explains how to identify and resolve these rare use cases.
After migrating to Hyperforce, users or API clients receive an error or exception in the SSL handshake. For example, an API client or third-party CDN indicates an ‘SSLHandshakeException’ after sending a request to the Salesforce service.
Diagnosis and Solution
The solution varies depending on the error’s location.
The error occurs when an API client calls a Salesforce API endpoint with a domain name other than *.my.salesforce.com or *.sandbox.my.salesforce.com.
To resolve HTTPS errors from an API client caller, choose one of these solutions:
Some Salesforce Experience Sites use custom domains that are served by a third-party CDN.
The error occurs between the CDN and the Salesforce Experience site when a user attempts to visit the site. If the CDN’s default error page doesn’t mention the SSL error, check the CDN’s error log.
To resolve HTTPS errors caused by the usage of a third-party CDN serving custom domains for Experience Sites:
The error occurs when client code calls an endpoint on *.cloudforce.com or *.database.com
This is a special case of Error during an API Call, and can be resolved as described above.
Alternately, to resolve issues when addressing *.cloudforce.com or *.database.com:
000392990

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.