Why does my Github Pages service always show that SSL certificates are not allocated? #22790
-
My Github Pages(xiezheyuan.github.io) has been redirected to the domain(www.xiezheyuan.top) I purchased from Aliyun and use CloudFlare to protection and acceleration my website.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @XieZheyuan, welcome to the GitHub Support Community! Cloudflare enables their HTTP/DNS proxy feature by default, meaning GitHub isn’t able to see the DNS records required to generate an HTTPS certificate. You’ll need to disable this for any DNS records that point towards GitHub. Disclaimer : Disabling the HTTP/DNS proxy may interfere with other Cloudflare services. If you use other Cloudflare services with your site, we aren’t able to guarantee that these will continue working. For more help with this, I’d recommend reaching out to Cloudflare’s support team. If you’d still like to continue, you can follow the instructions below: First of all, make sure you’ve set up your DNS records in Cloudflare according to the instructions in our help documentation: docs.github.comManaging a custom domain for your GitHub Pages site - GitHub DocsTo disable CloudFlare’s DNS/HTTP proxy, you’ll need to log in to your Cloudflare account, navigate to the DNS settings page for your domain, and click on the orange cloud icon next to any DNS records related to your GitHub Pages domain. The cloud icon should turn grey when it’s correctly disabled. It can take up to 72 hours for these DNS changes to propagate across the internet. You can check the status of your DNS here: whatsmydns.netDNS Checker - DNS Propagation Check & DNS LookupInstant DNS Propagation Check. Global DNS Lookup and DNS Propagation Checker. Check your DNS records around the world. Once they do, you’ll need to trigger a recheck of your DNS setup by visiting your repository’s settings page. Simply visiting the page will kick off the process of provisioning an HTTPS certificate for your domain name. Once your certificate has been provisioned, you’ll then be able to enforce HTTPS by checking the “Enforce HTTPS” checkbox. Keep in mind that it can take an hour or so for an HTTPS certificate to be requested, so if you follow these steps but are still having trouble, that’s usually why. |
Beta Was this translation helpful? Give feedback.
Hi @XieZheyuan, welcome to the GitHub Support Community!
Cloudflare enables their HTTP/DNS proxy feature by default, meaning GitHub isn’t able to see the DNS records required to generate an HTTPS certificate. You’ll need to disable this for any DNS records that point towards GitHub.
Disclaimer : Disabling the HTTP/DNS proxy may interfere with other Cloudflare services. If you use other Cloudflare services with your site, we aren’t able to guarantee that these will continue working. For more help with this, I’d recommend reaching out to Cloudflare’s support team.
If you’d still like to continue, you can follow the instructions below:
First of all, make sure you’ve set up your DNS records i…