This article describes how to install a storefront SSL certificate on the Salesforce Commerce B2C platform for storefront sites.
Environment: All PIG instances (Production, Development & Staging)
NOTE: This article does NOT apply to sandboxes because they do NOT currently support custom SSL certificates and only serve the default demandware.net certificate.
Before proceeding, you need to do the following:
Determine whether you have a legacy zone or proxy zone by logging into Business Manager, going to Administration > Embedded CDN Settings, and finding the hostname. If the DNS CNAME for the hostname in question starts with commcloud and ends with cc-ecdn.net, it is a proxy zone.
For more information, please see the eCDN Proxy Zone FAQ.
Determine whether you will utilize your own SSL certificate i.e. a self-managed certificate OR use the eCDN managed certificate option (only available for proxy zones).
If using a self-managed certificate, please do the following before moving forward:
Create a CSR from a CSR generator of your choice.
Use the generated CSR to generate an SSL certificate with the Certificate Authority (CA) of your choice.
Ensure that the generated certificate and private key are in PEM format and not encrypted when uploading via Business Manager. Your private key must also be decrypted in the old RSA format via the command openssl pkcs8 -in key.pem -out rsakey.pem
Review the Configure the Embedded CDN topic.
Complete the Configure the eCDN Hostname Alias and Create a Zone in B2C Commerce steps.
After you receive the SSL certificate from the CA as mentioned above, make sure the certificate and private key are in PEM format and not encrypted when uploading and then install the certificate and private key in Business Manager via Administration > Sites > Embedded CDN Settings as outlined in the Add a SSL Certificate to an eCDN Zone and Configure DNS Mapping section.
To renew an expiring certificate, follow the instructions in Update an eCDN Zone's Certificate.
After successfully installing the new certificate, delete any old and/or replaced certificates.
Here's a quick video tutorial on how to install an SSL certificate for your storefront.
If you do not have an existing storefront SSL certificate for the sites or if your existing SSL certificate has expired, follow the steps in Use the CDN Zones API to Configure eCDN.
Use the getCertificates command to get the ID of the certificate that needs to be replaced.
Use the updateCertificate command to update the certificate.
(Only necessary if your realm was created prior to June 2023) Please complete the post migration steps to validate your eCDN traffic flow and setup.
000391588

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.