Skip to content

CAA records will be added after enforcing HTTPS for GitHub Pages #22549

@DevDengChao

Description

@DevDengChao

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https

What part(s) of the article would you like to see updated?

The Enforcing HTTPS for your github pages site dosen't mentioned it will automatically add some CAA records for your custom domain.
I thought it was just redirecting requests from port 80 to 443.

This makes it hard to debugging when requesting certificates from other CA ( Try search out 'Verify error:CAA record for XXX prevents issuance' ).

Additional information

The story:
I built a website over GitHub Pages, gave it a custom domain and enabled the 'Enforcing HTTPS' function before.
Then today my cloud service provider notified me that the SSL certificate I used is nearly expired.
So I started requesting new certificates from Let's encrypt with some wildcard subdomains, which covered the one I gave to the GitHub Pages site.
And then acme client keeps telling me 'Verify error:CAA record for XXX prevents issuance' when renewing certificate.
Finally I remembered that site was hosting on GitHub and it enabled Enforcing HTTPS there.
After I disabled the Enforcing HTTPS function, and verified it with dig CAA xxxx, then the certification renew progress continues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamneeds SMEThis proposal needs review from a subject matter expertpagesContent related to GitHub Pageswaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions