Skip to content

Is there any way to configure Cloudflare such that GH Pages certificate renewal will succeed? #23632

Answered by tcbyrd
lukewestby asked this question in General
Discussion options

You must be logged in to vote

I’m not sure whether GitHub expects the CNAME record to resolve without Cloudflare’s proxy in place, or if there are certain Let’s Encrypt-related endpoints we can exempt from our page rules etc. that would allow renewal to work.

The former. With the proxy feature turned on, effectively you need to handle TLS certificates at Cloudflare, since the IP that comes back in the DNS query belongs to Cloudflare, not GitHub. This means GitHub can’t successfully obtain a certificate. Cloudflare is able to automatically obtain a certificate for you as well and it works basically the same way, but keep in mind that the GitHub UI will not reflect that it’s on HTTPS since Cloudflare is the one enforc…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@MakotoE
Comment options

@tcbyrd
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants