"Certificate not yet due for renewal" but browser says certificate not valid

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: benalexandermedia.com

I ran this command: sudo certbot renew

It produced this output:

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/benalexandermedia.com-0001.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Certificate not yet due for renewal

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/benalexandermedia.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Renewing an existing certificate for benalexandermedia.com and 5 more domains

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
  Domain: www.websiteidonthaveanymore.com
  Type:   unauthorized
  Detail: 198.185.159.144: Invalid response from http://www.websiteidonthaveanymore.com/.well-known/acme-challenge/ymT9pIU122iyFPNPNTuiKer6JeJvQ4LGUsO8rt6oGQg: 404

  Domain: websiteidonthaveanymore.com
  Type:   unauthorized
  Detail: 198.49.23.144: Invalid response from http://websiteidonthaveanymore.com/.well-known/acme-challenge/JTodmAxMa3PYFxTIsz8GXgj2R9NqilcoMUSfAkAOpFw: 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 benalexandermedia.com with error: Some challenges have failed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing
/etc/letsencrypt/renewal/myotherwebsite.site.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Certificate not yet due for renewal

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The following certificates are not due for renewal yet:
  /etc/letsencrypt/live/benalexandermedia.com-0001/fullchain.pem expires on 2024-08-25 (skipped)
  /etc/letsencrypt/live/myotherwebsite.site/fullchain.pem expires on 2024-08-25 (skipped)
All renewals failed. The following certificates could not be renewed:
  /etc/letsencrypt/live/benalexandermedia.com/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My web server is (include version):

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

My hosting provider, if applicable, is: digitalocean

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 2.10.0

it has lineage for (-0001 suffix) renewed yesterday for just banelexandermedia.com (no www) and old linuage failed because of removed domains.
try
certbot renew --allow-subset-of-names

5 Likes

You are my hero!

4 Likes