I appear to have multiple Let's Encrypt certs on my server but certbot only recognizes and renews some of them. The Certificate #1 will be expiring soon on Dec 17th.
You can see the situation here:
If I run: certbot certificates
Found the following certs: Certificate Name: daviddegner.com Domains: daviddegner.com www.daviddegner.com Expiry Date: 2021-03-02 21:16:36+00:00 (VALID: 88 days) Certificate Path: /etc/letsencrypt/live/daviddegner.com/fullchain.pem Private Key Path: /etc/letsencrypt/live/daviddegner.com/privkey.pem
If I run certbot certonly
it renews a certificate, but not Cert #1
How would you like to authenticate with the ACME CA?
1: Spin up a temporary webserver (standalone)
2: Place files in webroot directory (webroot)
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Plugins selected: Authenticator webroot, Installer None
Please enter in your domain name(s) (comma and/or space separated) (Enter 'c'
to cancel): daviddegner.com www.daviddegner.com
Cert not yet due for renewalYou have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/daviddegner.com.conf)What would you like to do?
1: Keep the existing certificate for now
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Renewing an existing certificateIMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/daviddegner.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/daviddegner.com/privkey.pem
Your cert will expire on 2021-03-04. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew all of your certificates, run
"certbot renew"- If you like Certbot, please consider supporting our work by:
My domain is: www.daviddegner.com
I ran this command: certbot certonly
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
1: Spin up a temporary webserver (standalone)
2: Place files in webroot directory (webroot)
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Plugins selected: Authenticator webroot, Installer None
Please enter in your domain name(s) (comma and/or space separated) (Enter 'c'
to cancel): daviddegner.com www.daviddegner.com
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/daviddegner.com.conf)
What would you like to do?
1: Keep the existing certificate for now
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Renewing an existing certificate
IMPORTANT NOTES:
-
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/daviddegner.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/daviddegner.com/privkey.pem
Your cert will expire on 2021-03-04. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew all of your certificates, run
"certbot renew" -
If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
My web server is (include version): OpenLightSpeed Latest
The operating system my web server runs on is (include version): Ubuntu 20.04
My hosting provider, if applicable, is: Linode
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.40.0