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: LeslieRego.com
I ran this command: n/a
It produced this output: n/a
My web server is (include version): Apache/2.4.56 (Unix)
The operating system my web server runs on is (include version): macOS Sonoma 14.1 (23B74)
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): certbot 2.8.0
I have several certificates that expire at the same time and I need to apply a hook to just one of the many certificates, IF and ONLY IF that specific certificate renews successfully.
I have been searching for a example of some sensible use of "certbot reconfigure" to change the renewal specs for a specific certificate (leaving all other renewals for all other certificates as they are) but I'm not sure how to invoke a specific hook to change just ONE of my many certificates, to run a specific shell script.
Perhaps the differences between these two options are obvious to everyone else, but I can't quite figure the differences out:
--run-deploy-hooks
--deploy-hook DEPLOY_HOOK
I believe something like this might make some sense, but I'm not sure:
certbot reconfigure --cert-name example.com --deploy-hook /usr/local/alfredo/specificScript.sh
Any suggestions?
Thanks very much.
Alfredo