GitHub Pages custom domain TLS certificate stuck at 1 of 3 with successful DNS check #208372
Replies: 4 comments
|
Did you delete unneeded DNS settings, Is the domain sharing any other DNS settings or maybe a subdomain that have unedited settings? |
|
The likely issue is not your GitHub Actions deployment. A successful DNS check only means GitHub can see the expected DNS configuration; GitHub then has to obtain a TLS certificate from its certificate authority. GitHub documents that certificate provisioning is a separate step and can fail even after DNS validation succeeds. For your specific setup, I would check these in this order: Make sure www.aryanbuilds.qd.je has exactly one CNAME Do not point it to the repository name or a *.pages.github.io address. Check for hidden/indirect DNS records. Because your status is DNS check: Successful → Certificate Request Error → bad_certificate, I'd focus on what is actually answering HTTPS for www.aryanbuilds.qd.je, rather than changing your GitHub Actions workflow. |
|
@itzaryan44 The important distinction here is that DNS validation and TLS certificate provisioning are separate steps. A successful DNS check confirms that GitHub can see the expected DNS configuration, but it doesn't by itself mean the certificate has been successfully issued. Since you've already confirmed the CNAME, ruled out AAAA/CAA conflicts, removed and re-added the domain, and seen the status move from “Certificate Requested” back to “Certificate Request Error,” I wouldn't keep changing the GitHub Actions workflow. The deployment itself is unlikely to be the relevant part. I'd focus on what is actually answering HTTPS for
GitHub's Pages documentation notes that certificate provisioning can take some time after the custom domain is configured, and recommends removing and re-adding the custom domain when HTTPS provisioning doesn't complete. Since you've already tried that, the useful next step is to gather the exact DNS and HTTPS response details and, if the error persists, report it to GitHub rather than repeatedly changing a configuration that already passes the DNS check. The |
|
@itzaryan44 Since you've verified the standard CNAME setup and cleared CAA/AAAA records, a "bad_certificate" error during GitHub Pages TLS provisioning almost always points to an issue during the Let's Encrypt ACME HTTP-01 challenge. Here are the exact diagnostic steps to pinpoint the issue:
|
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Pages
Body
Hello GitHub Community,
I am having an HTTPS/TLS certificate provisioning issue with my GitHub Pages custom domain.
GitHub account: itzaryan44
Repository: Aryanbuilds
Custom domain: www.aryanbuilds.qd.je
Current Pages status:
GitHub's Virtual Assistant also detected:
"www.aryanbuilds.qd.je isn’t replying with a valid SSL certificate (return code: bad_certificate)."
I have already:
The certificate request briefly changed to:
"Certificate Requested: Detected a change to DNS settings. Requesting a new certificate."
It then returned to:
"Certificate Request Error: Certificate provisioning will retry automatically in a short period, please be patient."
Could someone please advise what could be causing the certificate provisioning to fail despite the successful DNS check?
Thank you.
All reactions