Closed whereisaaron closed 21 hours ago
Hi,
I find this idea very interesting and will maybe use it the restart services like postfix after updating certificates using mod_md. What are the advantages of using this md_event helper instead of using something like sudo to do the restarts?
Thanks, Simon
Closed as being stale.
Greatly enjoying working with
mod_md
. It works great. Four features I wish it also had are:domains
andstaging
domains
certificates have been updated when in a shared filesystemThis GIST aims to address (1) buy providing a
setuid
command+script you can install to enablehttpd
to automatically restart after a certificate is issued or installed.https://gist.github.com/whereisaaron/d4e94bac59cf01ca213f50756fe1155c
Other solutions involve using external services like
crond
to watch or do scheduled restarts. However this solution enables a singlehttpd
process in a single container to handle it. And it enablesmod_md
to load newly issued certificates without delay. It consists of asetuid
command that invokes abash
script asroot
.Appreciate any suggestions to improve security or robustness.
INSTALL