Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Shopify "SSL pending" or "SSL unavailable" on a connected custom domain: DNS, CAA and DNSSEC checks

Technical article
Hosting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

After you connect a third-party domain, Shopify issues its own certificate. Shopify says that can take up to 48 hours, and during that time the admin may show "SSL pending". If it then shows "SSL unavailable", or visitors see "Your connection is unsecure", Shopify could not issue the certificate. The causes Shopify lists are wrong DNS records, CAA records that block its certificate authorities, a broken DNSSEC setup, or a Cloudflare proxy in front of the domain. Our own reading: you fix them in your domain provider's DNS settings, not in the Shopify admin.

What the error means

Shopify provides TLS certificates free for all domains added to it. For a third-party domain, its page says the certificate is issued automatically "by changing your A record and CNAME record to point to Shopify", and "it might take up to 48 hours". During that time a "TLS or SSL pending" status can show in the admin settings for domains. "After 48 hours, if your TLS has failed, you might have a TLS or SSL unavailable message".

You cannot bring your own certificate. Shopify says: "You can't use third-party SSL certificates with your Shopify store."

Shopify's troubleshooting page says the domain's DNS must have these values: an A record of 23.227.38.65, an AAAA record of 2620:0127:f00f:5::, and a www CNAME record of shops.myshopify.com. with the period at the end. It says an A record that Shopify generated with a different ending, such as 23.227.38.68, is also valid. There must be only one A record and one AAAA record, only one www CNAME pointing to Shopify, no wildcard record pointing at Shopify, no Cloudflare proxy and no broken DNSSEC setup.

A domain bought or transferred through Shopify gets its certificate automatically, according to Shopify's secure-connections page, which lists buying a custom domain through Shopify and transferring a domain to Shopify as cases where a certificate is issued automatically. The steps here are for a domain bought elsewhere and connected.

Likely causes

Cause What you see How to confirm
Less than 48 hours since the DNS change "SSL pending" in the admin The change was made within 48 hours
An A record or the www CNAME is wrong, missing or doubled "SSL unavailable"; the notification "Your domain's A record doesn't point to Shopify" or "Your domain has too many A records" A lookup shows other values, or two A records
An AAAA record does not point to Shopify, or there is more than one The notification "Your domain's AAAA record doesn't point to Shopify" or "Your domain has too many AAAA records" A lookup of the AAAA record shows another address or several
CAA records block Shopify's certificate authorities A notification that the domain does not permit Google, Let's Encrypt and SSL.com The CAA list lacks one of the three, or holds a record with only ;
A broken DNSSEC setup on a domain bought elsewhere The notification "A DNSSEC misconfiguration is blocking access to your DNS records", with a warning banner and a "Disable DNSSEC" step in the connection flow The DNSSEC setting is on at the domain provider
DNSSEC carried over onto a domain managed by Shopify The notification "Your domain has an unsupported DNSSEC record. Shopify doesn't support DNSSEC at this time. Contact support to have it removed." The domain is managed by Shopify and DNSSEC came with it from the earlier provider
A Cloudflare proxy sits in front of the domain Notification that Shopify does not support the proxy The records show the proxy (orange cloud)
An old device or browser Error only on some visitors Android 7.0 or lower, or a browser from before 2010

Prove the cause before changing anything

All of these steps only read.

1. Write down the status and the time. In the Shopify admin, open Settings, then Domains, and note the status for the domain and any notification text. Shopify says a domain whose status is Connected has its certificate issued.

2. Work out how long it has been. Shopify says any DNS update "can take up to 48 hours to propagate", and that a pending status shows during that time. If the change is newer than that, wait.

3. Look the records up from outside. Shopify's page suggests free tools such as whatsmydns.net and DNS Checker. Enter the domain, select the record type (A, AAAA or CNAME), search, and compare with the values above. For www, look up the CNAME of www.example.com.

4. Read the CAA records. In your domain provider's DNS settings, find any CAA records. Shopify says you do not need CAA records, but if you are required to use CAA records, each must allow letsencrypt.org, pki.goog; cansignhttpexchanges=yes and ssl.com. A record whose value is only ; blocks every authority. Shopify adds that parameters such as accounturi or validationmethods "can still prevent Shopify from provisioning a certificate".

5. Check for a proxy. In the DNS settings, look for any proxy setting. Shopify says Cloudflare's proxy (orange cloud) and Orange-to-Orange are not supported, and that you can keep Cloudflare as your DNS provider if every record that points to Shopify is set to DNS only.

6. Check DNSSEC. Look for a DNSSEC setting at the domain provider. Shopify says "A DNSSEC misconfiguration" can block access to your DNS records.

Fix

Wait the 48 hours first if the change is recent. Then work through the causes in the order the lookups showed.

First save the current state: write down every A, AAAA, CNAME and CAA record for the domain, with its value, and the time. A screenshot of the provider's DNS page also records them.

Risk: the next changes alter the live DNS of the domain. A wrong value can take the whole online store offline for visitors, and cached answers mean the effect is not instant. Shopify says to wait 48 hours for propagation before making further changes if the tools and the provider's settings differ.

At your domain provider, change only what the lookups showed wrong:

  • If the A record is not 23.227.38.65 and not a Shopify-generated variant such as 23.227.38.68, set it to 23.227.38.65. If there is more than one A record, remove the additional ones and keep one.
  • Set the AAAA record to 2620:0127:f00f:5::. If there is more than one AAAA record, remove the additional ones and keep one.
  • Set the www CNAME to shops.myshopify.com. with the period.
  • For a proxy, set every record that points to Shopify to DNS only.
  • For CAA records, make sure there is a record for each of letsencrypt.org, pki.goog; cansignhttpexchanges=yes and ssl.com, remove any record whose value is only ;, or remove the CAA records completely, as Shopify's page allows.

Risk: setting each record back to the value you wrote down returns the domain to the state in which Shopify could not issue the certificate, and cached answers mean the effect is not instant.

Only if you need to back out: set each record back to the value you wrote down, and wait for propagation.

When a broken DNSSEC setup is found, Shopify says: "The standard fix is to turn DNSSEC off." It adds that to keep DNSSEC active you work with your domain provider to correct the setup. The steps it describes are to find the DNSSEC setting at the provider (under DNS, Advanced DNS, Domain Security or Domain Settings, depending on the provider), turn it off and save, and it says the update can take up to 48 hours to propagate. It also says DNSSEC records can stay published after the setting is turned off, and the provider can check for records still in place. For a domain managed by Shopify that arrived with DNSSEC from its earlier provider, Shopify's page says to contact Shopify Support so that they can remove the unsupported DNSSEC records.

For an old device, Shopify's page says to upgrade a device on Android 7.0 or lower and to update a browser from before 2010.

Example (illustrative): the store Example Pty Ltd connected example.com and www.example.com three days ago. The admin shows "SSL unavailable". Lookups show two A records, 23.227.38.65 and 192.0.2.50 (the old host), and one AAAA record, 2001:db8::50 (also the old host). The CNAME for www is shops.myshopify.com.. The administrator writes the records down, removes the 192.0.2.50 record, sets the AAAA record to 2620:0127:f00f:5::, and waits. The status moves to Connected within 48 hours.

Confirm the fix

  1. In Settings, Domains, the status shows Connected.
  2. A lookup shows one A record and, if present, one AAAA record with the Shopify values, and the www CNAME of shops.myshopify.com..
  3. Visit https://www.example.com/ in a current browser. Shopify says a padlock icon shows beside the URL when the certificate is in place.
  4. Visit the address without www and check that it reaches the same store.

What to watch afterwards

  • Shopify says DNS changes can take up to 48 hours to propagate, and to avoid making additional DNS changes during that period, as this can reset the timer and cause further delays.
  • If you add CAA records later, add all three authorities at the same time.
  • Shopify says a Cloudflare proxy "can block or interfere with these challenges, which delays or prevents certificate issuance and renewal", and that a proxy can be set up by your DNS provider by default.
  • Our own advice: keep a written list of the records Shopify needs next to the registrar login details, so the next DNS edit by someone else does not remove them.
  • For how CAA records work on your own server, see CAA records: limiting which certificate authorities can issue for your domain.

Risks and limits

  • These commands have not been run or lab-tested. The DNS steps are Shopify's, applied by hand at your domain provider.
  • The record values come from Shopify's pages and Shopify can change them. Read the current page before you edit DNS.
  • Our own advice: a domain that also carries email or other sites needs those records left alone. Change only the records for the store's names.
  • If the status stays pending after 48 hours with correct records, Shopify's page says to contact Shopify Support, and to bring the exact error text, screenshots and recent changes.
  • A certificate problem on your own server is a different case: see Browser shows the wrong certificate for a site: SNI and the default virtual host.

Sources