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: theorb.net
I ran this command: certbot -v certonly --standalone -d a.ns.theorb.net,a.mx.hostisimo.com,b.ns.theorb.net,hostisimo.com,theorb.net,www.hostisimo.com,www.theorb.net
It produced this output: Could not bind TCP port 80 because it is already in use by another process on this system (such as a web server). Please stop the program in question and then try again.
(END)
My web server is (include version): apache 2.4.57 (Debian)
The operating system my web server runs on is (include version): Debian 12 bookworm
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): 2.1.0
I can't figure out how to use the pre and post renewal-hooks. I tried putting the name of the start and stop scripts in post and pre, I've tried soft links to the scripts in /usr/local/sbin but they are ignored. Note that the deploy script does get run.
I've successfully renewed my certs but I have to use "webserver-stop;renewal-command;webserver-start" manually. How do I tell certbot to run those pre and post scripts so the entire process is automatic?
Thank you