Certbot certificates does not list all certs

My domain is:
(multiple domains on multiple servers)

I ran this command:
certbot certificates

It produced this output:
no certificates found

My web server is (include version):
nginx (v1.24.0)

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

My hosting provider, if applicable, is:
n/a

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):
2.6.0

============
More information:
I can see the certificates in /etc/letsencrypt/live
The /etc/letsencrypt/renewal folder is empty
Navigating to the sites, the webbrowser shows the current and correct certficates.

Running certbot renew does not renew any certificates even though certificates are within the 30 day renewal window.

I have this issue on multiple servers. So I'm definitely missing something simple. Just not sure what it is.

Does anyone know how certbot determines which certificates are on the server? Maybe I'm missing a configuration entry somewhere.

Thanks in advance for any assistance.

1 Like

Hi @lastblues,

Did you possibly delete files from there, or copy part of this tree from another computer? Normally Certbot creates this directory and keeps it up to date, and yes, it relies on its contents in order to decide which certificates it's managing.

3 Likes

@schoen - Thanks for that information. Gives me something to work with and go chase down.

2 Likes

You can definitely copy just the apparent contents of /etc/letsencrypt/live if you only want to use the certificates on another machine, but it won't be enough for Certbot to be able to renew them on that machine.

2 Likes

What shows?:
nginx -T | grep -i certificate_key

3 Likes

A post was split to a new topic: Renewed certificate not used

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