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: sbcsepla.orgsbcselpa.org
I ran this command:
sudo certbot renew --dry-run
It produced this output:
[sudo] password for cniadmin:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
No simulated renewals were attempted.
My web server is (include version):
Apache/2.4.62 (Ubuntu)
The operating system my web server runs on is (include version):
Ubuntu 24.10
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 3.1.0
We migrated the site to a new server and the LetsEncrypt cert files were copied over. We want to set up auto-renewal and it looks like certbot doesn't know about the cert files on this server since they were copied over.
What would be the most appropriate and clean way to handle this scenario?
Check the cron on the old server; you may have invoked certbot with a --config-dir=/etc/ssl flag, or similar. if that is the case, you need to copy that directory to the new server and either overwrite the /etc/letsencrypt or put it in /etc/ssl and invoke certbot with the requisite flags.
it is also possible that certbot wasn't managing those certs, and another client was. check the crons on the other server to see what was running and how.
That directory looks like it was manually constructed from the LetsEncrypt files or copied over by a script.
Check the /etc/letsencrypt directory on the old server. I wonder if all the files are there, but perhaps you did not have adequate permissions when copying files over.
That's the last thing I can think of in terms of possible errors. There are others here who are more familiar with Certbot.