smurp / certbot_haproxy_renew

Update HAProxy after certbot renew
GNU General Public License v3.0
0 stars 0 forks source link

certbot_haproxy_renew

Turn renewal of all your certbot certs for haproxy into a single command suitable for crontab

Assumptions

You are:

What it does

How to obtain

cd /opt
wget https://raw.githubusercontent.com/smurp/certbot_haproxy_renew/main/certbot_haproxy_renew.sh

How to automate

Add a line to root's crontab which looks like this:

0 */12 * * * /opt/certbot_haproxy_renew.sh

Known to work on