Renew Expired Cert - The client lacks sufficient authorization

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. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: birdiedex.com

I ran this command:

certbot renew --dry-run

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/birdiedex.com.conf


Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for birdiedex.com
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (birdiedex.com) from /etc/letsencrypt/renewal/birdiedex.com.conf produced an unexpected error: Failed authorization procedure. birdiedex.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://birdiedex.com/.well-known/acme-challenge/2JiCJwRsjMMB2gLN52Qq1FPaQAq923HOk_Izz296JY4 [2a02:4780:1:458:0:8fb:9152:1]: "\r\n404 Not Found\r\n\r\n

404 Not Found

\r\n
openresty</cente". Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/birdiedex.com/fullchain.pem (failure)


** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)

All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/birdiedex.com/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)


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

IMPORTANT NOTES:

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

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

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

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

There is a LightSpeed server answering on IPv6 (which is prefered by Let's Encrypt), while at your IPv4 address a nginx server answers.

Looking at the fact you're using the nginx authenticator and installer plugins, your IPv6 address with the LightSpeed server is incorrect.

1 Like

Thanks for the quick reply. How can I update the IPv6 address?

1 Like

I don't know how you usually edit your DNS zone, but that should be done in DNS at the DNS zone editor of your DNS provider.

1 Like

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