[Letsencrypt-devel] Bug#838548: certbot: Please allow to easily set post-hooks

Johannes Keyser johanneskeyser at posteo.de
Sat Jul 1 18:24:26 UTC 2017


On Sat, 25 Mar 2017 00:50:29 -0400 "Daniel Richard G."
<skunk at iSKUNK.ORG> wrote:
> Hooks are not passed to the "certbot renew" command, but are instead
> saved in the /etc/letsencrypt/renewal/$DOMAIN.conf files.

Indeed, this is the case.
Below [renewalparams] you can specify:
pre_hook = /path/to/executable
renew_hook = /path/to/executable
post_hook = /path/to/executable

To try it, run "certbot --dry-run renew --cert-name MYDOMAIN". While
pre- and post-hooks get always executed, renew-hook scripts get only
executed if an actual renewal was done.



More information about the Letsencrypt-devel mailing list