All renewal attempts failed. The following certs could not be renewed:

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.
2018-07-04 08:07:12,571:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File “/usr/bin/certbot”, line 11, in
load_entry_point(‘certbot==0.22.2’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python3/dist-packages/certbot/”, line 1266, in main
return config.func(config, plugins)
File “/usr/lib/python3/dist-packages/certbot/”, line 1179, in renew
File “/usr/lib/python3/dist-packages/certbot/”, line 443, in handle_renewal_request
len(renew_failures), len(parse_failures)))
certbot.errors.Error: 1 renew failure(s), 0 parse failure(s)

Attempting to renew cert ( from /etc/letsencrypt/renewal/ produced an unexpected error: Failed authorization procedure. (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from "

404 Not Found

404 Not Found

". Skipping. All renewal attempts failed. The following certs could not be renewed: /etc/letsencrypt/live/ (failure)

All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ (failure)

My domain

I ran this command:cerbot renew

It produced this output:

My web server is (include version):

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

My hosting provider, if applicable, is:

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

What are the contents of /etc/letsencrypt/renewal/ ?

Maybe try

certbot renew --cert-name --nginx

thx alot it works i don't have words to thank u

can you help me to make it auto renewal

When you install Certbot, it automatically installs a scheduled task to perform renewals.

It was already trying to auto-renew - it was just failing because that domain’s renewal parameters were misconfigured.

When you ran certbot renew with the parameters I suggested to you, it saved them for next time as well.

So next time it tries to auto-renew (in around 60 days from now), it should just work.

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