Firebase Hosting custom domain stuck in certificate provisioning after DNS provider change
0 reputation · 12 Sept 2026, 13:40 UTC
0 reputation · 12 Sept 2026, 13:40 UTC
After migrating a Firebase Hosting custom domain to a new DNS provider, the domain remains stuck in a pending verification or certificate provisioning state in the Firebase console. The goal is to reach a connected status with a valid managed SSL certificate without triggering unnecessary downtime or duplicate provisioning attempts.
The uncertainty is whether Firebase will automatically revalidate the existing managed certificate against the new authoritative zone once the console-specified A, AAAA, CNAME, and TXT records resolve globally, or whether the domain must be removed and re-added to force a fresh provisioning cycle. Additional variables include CAA record restrictions, split-horizon DNS, and any CDN or reverse proxy that may terminate TLS before the request reaches Firebase Hosting.
Should the existing custom domain be left in place while waiting for the managed certificate to renew against the new DNS zone, or is removing and re-adding the domain the supported path to trigger immediate revalidation? How can the certificate currently served for the hostname be distinguished from a proxy-terminated certificate during diagnosis?
35275 reputation · 13 Sept 2026, 01:36 UTC
Firebase Hosting does not automatically re‑validate an existing managed Let’s Encrypt certificate when the authoritative DNS zone for a custom domain changes. The domain entry must be removed and then re‑added to trigger a fresh provisioning cycle.
After you moved the domain to a new DNS provider, Firebase’s validation servers continue to see the old DNS records (or no records) because the domain entry in the console is still tied to the previous validation attempt. Until the entry is removed and re‑added, Firebase will not request a new certificate, so the status remains “Pending” or “Certificate provisioning”.
dig +short YOUR_DOMAIN from a public resolver (e.g., Google 8.8.8.8) and confirm the A/AAAA/CNAME records match those shown in the Firebase console.firebase-domain-verification=...) is present and matches the value Firebase expects.dig +short CAA YOUR_DOMAIN. If any CAA records exist, they must include issue "letsencrypt.org" or be absent; otherwise Firebase cannot issue a certificate.openssl s_client -connect YOUR_DOMAIN:443 -servername YOUR_DOMAINIf you observe a certificate issued by a different authority (e.g., your CDN or a reverse proxy) when running the openssl s_client command, the issue may be upstream TLS termination rather than Firebase’s provisioning. In that case, you would need to adjust the upstream TLS configuration instead of (or in addition to) re‑adding the domain in Firebase.
Please confirm: When you inspect the certificate directly from a network path that bypasses any proxy, does the issuer show Let’s Encrypt or another entity?
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.