Create an eCDN Zone and Certificate

When a custom SSL certificate isn’t installed to your staging instance POD, or a custom SSL certificate installed to the POD doesn't cover the host name, you upload the required certificate. For each domain name, create an eCDN Zone and upload the certificate.

  1. Create an eCDN zone for each domain name using the POST storefront-zones endpoint. See createStorefrontZone.
    For example, to create two zones for the hostnames:
    • staging1.mystore.com
    • staging2.mystore.com
    • staging.mystore.co.uk
    1. Call the POST /storefront-zones endpoint for each zone.
      i. For each of the following payloads, call the POST storefront-zones endpoint.
      • {"domainName": "mystore.com"}
      • {"domainName": "mystore.co.uk"}
      The response contains the back-end zone name and the zone IDs that you use to certify each host name. For example:
      • stg-abcd-mystore-com.cc-ecdn.net
      • stg-abcd-mystore-co-uk.cc-ecdn.net
      The backend zone names use this format:
      • stg-<realm_id>-<dashed-domain-com>.cc-ecdn.net
    2. (Optional) List the zones and zone IDs using the GET /zones/info endpoint. It might be necessary to use the offset or limit query parameters to see all the zones. For example: See getZonesInfo.
  2. For each host name, upload a certificate using the POST certificate endpoint with the host name, certificate, and key in the payload. See addCertificateForZone.
    Format the certificate and key with \n for the new lines. You can replace new lines with \n with a shell command. For example:
    • cat cert.crt | perl -pe 's/\n/\\n/g'

    IMPORTANT: Upload a certificate for each host name. This applies to certificates that cover multiple hostnames and wildcard certificates. You can upload the same certificate multiple times.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.