Troubleshooting GitHub Pages Custom Domain Certificate Request Errors

Configuring a custom domain for GitHub Pages should be straightforward, but developers frequently run into frustrating roadblocks during TLS certificate provisioning. A common issue involves certificate requests getting permanently stuck at the "1 of 3" provisioning stage, returning a generic Certificate Request Error despite valid DNS resolution and fully operational repository settings.

Developer dashboard illustrating secure domain configuration and TLS provisioning metrics.
Developer dashboard illustrating secure domain configuration and TLS provisioning metrics.

Diagnosing the TLS Certificate Provisioning Pipeline

When setting up custom domains like ultraomeaga.loc.cc, basic domain resolution can succeed while the underlying certificate issuance pipeline fails. Automated certificate authorities handle validation separately from basic DNS lookups. Even if a site successfully serves traffic over HTTP and passes GitHub's initial DNS check, strict compliance requirements in the certificate generation workflow can cause automated retries to stall indefinitely.

When tracking infrastructure health while planning a software project, teams often rely on a robust software metrics tool or a real-time software development dashboard to catch configuration drift early. However, external checks like crt.sh or public DNS resolvers may show entirely clean records while GitHub's internal backend remains blocked.

Cloud infrastructure communicating securely with custom web domains.
Cloud infrastructure communicating securely with custom web domains.

Recommended Solutions for Stuck Certificates

Community members analyzing similar GitHub Pages incidents have identified specific configuration adjustments required to unstick automated provisioning:

  • Replace Flattened CNAMEs: Many DNS providers offer CNAME flattening at the apex. While this allows the domain to resolve correctly, GitHub's certificate pipeline often requires explicit A and AAAA records.
  • Implement Explicit IP Records: Configure direct apex records pointing to GitHub Pages infrastructure rather than relying solely on aliased flattening:
A: 185.199.108.153, 185.199.109.153, 185.199.110.153, 185.199.111.153
AAAA: 2606:50c0:8000::153, 2606:50c0:8001::153, 2606:50c0:8002::153, 2606:50c0:8003::153
  • Query Pages Health via API: Use the GitHub CLI to inspect the underlying configuration state and detect hidden errors before restarting provisioning loops:
gh api repos/owner/repository/pages/health
  • Re-add the Custom Domain: Only remove and re-add the custom domain in your repository settings after updating your DNS shape to explicit records. Doing this beforehand forces the new provisioning job right back into the same architectural wall.

By shifting from flattened configurations to explicit apex records and verifying health endpoints, developers can clear persistent certificate provisioning errors and secure their custom domains successfully.

|

Dashboards, alerts, and review-ready summaries built on your GitHub activity.

 Install GitHub App to Start
Dashboard with engineering activity trends