Certbot renewal hook scripts
authorAndrew DeFaria <Andrew@DeFaria.com>
Fri, 4 Jun 2021 22:17:30 +0000 (15:17 -0700)
committerAndrew DeFaria <Andrew@DeFaria.com>
Fri, 4 Jun 2021 22:17:30 +0000 (15:17 -0700)
These scripts help automate Let's Encrypt domain renewal. The certbot
renew command offers --manual-authenticate-hook and
--manual-cleanup-hook to automate the process of renewal. For DNS domain
validation the authenticate script will be called with CERTBOT_DOMAIN
and CERTBOT_VALIDATION values filled in. We then add a TXT record to the
domain with the supplied value and enter into a loop checking for
propagation. If propagated the hook returns to certbot which renews the
cert. Cleanup consists of removing the TXT record.


No differences found