Certificate request error is persistent (TLS Certificate can't be provisioned) #22052
-
Certificate Request Error: Certificate provisioning will retry automatically in a short period, please be patient. |
Beta Was this translation helpful? Give feedback.
Replies: 28 comments 23 replies
-
Having the same issue here… for more than a few days. ERROR: Certificate Request Error: Certificate provisioning will retry automatically in a short period, please be patient. Removing CNAME file from repo like one suggested didn’t help. Using custom domain with CNAME record that succesfully points to the pages. I have a letsencrypt record, my dig command showing my cname>github pages profile>all pages a records (185.199.108-111.153) I don’t get it… |
Beta Was this translation helpful? Give feedback.
-
Got the same error, and it’s not generating the tls till now . … |
Beta Was this translation helpful? Give feedback.
-
I’ve got the same problem. Is this an issue on GitHub’s side or is this due to bad config? EDIT: The problem has now been resolved for me. |
Beta Was this translation helpful? Give feedback.
-
@marcinole Did you make any changes to anything to fix the problem? Or did it resolve on its own? Having the same problem over here. |
Beta Was this translation helpful? Give feedback.
-
I switched my custom domain to the “www” subdomain but I had tried that before (unsuccessfully) so when it finally worked I had the impression that the issue was fixed on GitHub’s side. |
Beta Was this translation helpful? Give feedback.
-
I’m getting the same error and have made no new changes to my website. No bueno. Following this post in hopes someone figures it out. |
Beta Was this translation helpful? Give feedback.
-
I’m having the same issue for days too. Didn’t change DNS or anything. |
Beta Was this translation helpful? Give feedback.
-
I’m also having the same issue, been stuck on error for months now, is it from my side? |
Beta Was this translation helpful? Give feedback.
-
OK I actually figured out a fix, I’m using Cloudflare as my domain registrar, and in my DNS settings, my 4 A records that point to Github had the “proxied” type on them, and appreantly GitHub doesn’t like that, so I switched from “proxied” to “DNS only” (by just clicking on the word ‘proxied’), and it seems to work with my custom domain (without the |
Beta Was this translation helpful? Give feedback.
-
thanks. works for me too. |
Beta Was this translation helpful? Give feedback.
-
I was having a similar issue. Waiting for 24h hours didn’t fix anything. It turns out the problem was that my domain was parked by default (my domain provider is GoDaddy). I removed the parking A record, and 5 minutes later the TLS certificate was obtained. Then I could finally enable the “Enforce https” option in the GitHub pages settings. Then another 5 minutes later, my GitHub pages were online. TLDR: try to remove the " A @ Parked" record in your domain provider DNS settings and then enable “enforce https” in GitHub pages settings. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the info! I just made the changes on Cloudflare (to DNS only), and will update in a few days and see if it works. EDIT: yep, that fixed it, almost immediately. If you have any type of DNS proxy make sure to shut it off, because the SSL cert authority is looking for specific A records. |
Beta Was this translation helpful? Give feedback.
-
Was having an identical issue, but this fixed it for me. Thanks so much! |
Beta Was this translation helpful? Give feedback.
-
Not sure what happened, Godaddy seems to be doing some wonky ish to my DNS. All of my A records for my github page had been deleted. My domain name is damosdesigns.com but now there’s a second domain name gdmig-damosdesigns.com in my account. No clue what that’s about. Adding those four A records back brought my website back up. |
Beta Was this translation helpful? Give feedback.
-
I managed to solve it as most of you mentioned, unchecking the proxy option in the dns zone for the main domain (in my case cloudflare). However, there are some considerations to make: If you have been using features like cache and workers, which need the server to process your request before actually accessing the website that is hosted on github, you will have problems with the functioning of your website when removing proxied. In my case, using cloudflare I did the following:
I have to do this every 3 months, as github doesn’t seem to renew the certificate automatically, for cloudflare to automatically recognize the new certificate. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue, turns out Github does not issue a TSL certificate unless your CNAME record is for Here is what namecheap.com says:
|
Beta Was this translation helpful? Give feedback.
-
I had the same issue suddenly without having changed my DNS records. GH was also saying they cannot resolve my domain. Turns out it broke when I enabled DNSSEC in namecheap, once I disabled this, resolving resumed working and after a while once TLS certificates for recreated I could re-enable enforce HTTPS. No need for having www in your CNAME, I do not have any www in there and it works. |
Beta Was this translation helpful? Give feedback.
-
How it has been solved ? Automatically or anything extra or I should wait for a day pls reply me and help |
Beta Was this translation helpful? Give feedback.
-
Yeah it’s working you all have do to first delete all DNS record and these 5records only then you domain is ready for hosting through GitHub. |
Beta Was this translation helpful? Give feedback.
-
I also had the same problem just now, and it turns out the issue was in using a national alphabet domain. |
Beta Was this translation helpful? Give feedback.
-
In my case, after waiting for about 22 hours and no certificate being issued, I simply deleted my subdomain.domain.com in GitHub Pages control panel and replaced with the same subdomain.domain.com. I waited for a minute and the certificate was up and running. I think GitHub tries to do the verification too early and it fails. For some reason, it don't retry the verification process unless you input a domain name again. |
Beta Was this translation helpful? Give feedback.
-
Just FYI, if you enable proxy on Cloudflare to GitHub pages, GitHub cannot generate the certificate. |
Beta Was this translation helpful? Give feedback.
-
Make sure to update the CNAME file in your Github Pages directory to reflect the change as well.- DanielOn Jan 31, 2023, at 1:18 PM, Cathleen ***@***.***> wrote:
I removed the www from the domain and now I can't enforce https. Any idea on how to solve this?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I do believe the setup on the DNS side is a bit different in that you need to make sure A records are setup if you are using your top level domain name and not the www CNAME. In the documentation it is referred to as “apex” domain.Managing a custom domain for your GitHub Pages sitedocs.github.com- DanielOn Jan 31, 2023, at 9:09 PM, Cathleen ***@***.***> wrote:
Hm, I was hoping this was the solution but the CNAME automatically updated with the changes and still not able to enforce https. I'm very confused. I was able to publish my webpage several times with my custom domain with https. I don't believe any of the configurations are different and I periodically will remove and add the 4 As and CNAME on my DNS. Could it be a glitch that I need to wait out? It has been a couple days of no success though.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I am facing the same issue. As mentioned in GitHub Docs and several replies, I have 4 A records and 1 CNAME record. There is no proxy setting equivalent on my registrar. I tried removing the verified domain and re-adding it. The DNS lookup is successful but it cannot generate a TLS certificate. What am I missing here? CPANELDIG |
Beta Was this translation helpful? Give feedback.
-
I encountered that same error while I was trying to create many Github Pages at once: everything worked for about 50, and then it stopped working with no better error message than this. After trying all the tricks in the book, I gave up on Github Pages, and went on to try to reimplement the desired server on a VPS, running letsencrypt directly... which got me a much better error message: |
Beta Was this translation helpful? Give feedback.
-
If you're using GoDaddy try going to the DNSSEC tab and clicking the button "Turn on DNSSEC." That immediately got rid of the error in github for me. |
Beta Was this translation helpful? Give feedback.
-
I am using Cloudflare, so I had to turn off DNSSEC and turn off proxy for both A record and CNAME. I also flattened CNAME at apex in DNS settings, but I don't know if that did anything to help. Anyways, it worked |
Beta Was this translation helpful? Give feedback.
I had the same issue, turns out Github does not issue a TSL certificate unless your CNAME record is for
www
pointing to yourusername.github.io.
It took me days to figure that sucker out. Your problem should be solved within a few minutes after you change your DNS settings.
Here is what namecheap.com says: