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: conspyre.tv
I ran this command in the sudo user's crontab:
0 1 * * * nohup php /var/www/html/AVideo/plugin/YPTSocket/serverCertbot.php &
That PHP script execs one shell command:
exec('certbot renew');
It produced this output:
(I have no idea its buried in log files from two weeks ago when the cert renewed)
My web server is (include version): Apache + nginx as a reverse proxy for RTMP, not important
The operating system my web server runs on is (include version): Ubuntu 22.04.1 LTS and again that's probably not important
My hosting provider, if applicable, is: seriously 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):
certbot 1.21.0
THE PROBLEM IS:
When it renewed my cert, it appended a -0001 to the name, and I presume next time around, will append a -0002, etc…
That means that every time the cert auto renews it's going to break my site, which needs to have that cert's pathname coded into several places.
How to get certbot to do the right thing & re-use the name?