Renewall is failing

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: certbot renew

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Processing /etc/letsencrypt/renewal/

Renewing an existing certificate for and 2 more domains

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Type: unauthorized
Detail: Invalid response from 404

Type: unauthorized
Detail: Invalid response from 404

Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.

Failed to renew certificate with error: Some challenges have failed.

All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/ (failure)

1 renew failure(s), 0 parse failure(s)

My web server is (include version): nginx/1.10.3

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is: Debian GNU/Linux 9.12 (stretch)

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.27.0

Is this expected?:


Two completely different FQDNs.

curl -Ii
HTTP/1.1 403 Forbidden
Server: cloudflare
1 Like

Thanks for the quick response.
These are for a new website that was deployed a month ago. Meanwhile, the nginx host with the certificate was moved to "". Could this be the problem? I thought the certificate was covering the entire domain
How can I fix this?

It is difficult to say exactly, I have very little information to work with.
I would "start over".
Remove any certs (and their use) that are no longer needed.
Then obtain (and use) any certs that you now need.

1 Like

I see. Is there a command that shows me what hosts are currently certified?
I am hoping to have

When you say "I have very little information to work with", what other information can I provide?

certbot certificates

We are here to help with problems related to certificates [their issuance, use, renewals, etc.]
In order to do so, we must clearly understand the problem and should also be within the scope of the forum.
It seems that, in your case, although you have answered all the questions, you haven't clearly defined all the relevant "details"; Such as:

  • Changes have been made without concern for the sites and certificates in use.
    We are trying to remedy that by removing any unused certs
  • Cloudflare is involved
    This may, or may not, be part of the problem

In other words, the problem is not "renewal is failing", the problem is that the system is trying to renew a site/cert that is no longer being used.

The more we know, the better we are prepared to resolve the issue.

1 Like

Understood. My apologies. Although these changes were done more than a month ago. As far as I could tell, eveything was humming and buzzing correctly. I am sorry that I didn't latch on this when I asked my question this AM.
As my site is currently down, I am rather in a pickle. The most urgent is that I have "" back up and running. This is the original host that had the orginal working certificates and is NOT on cloudflare. It is the same host with simply a different A name.
As you suggest to start over, do I simply run the "certbot" command and go through the script? Are there some gotchas? How long will it take for my host to be accepting https requests again?

1 Like

Certificates are good for 90 days and will normally only try to renew during the last 30 days [after 2 months of use].
So, it is very possible that was broken a month ago and you are only now seeing that break.

Show the outputs of:
certbot certificates
nginx -T | grep -i certificate

1 Like

certbot certificates

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.