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)
commit872647ca498f25c7de2a0e92f19403b71d957e1a
tree9acebf1e4794af8ce2591b1b51033505c56ab68c
parentceea2eb19e1e7d27c0e41d055ce7a3f09a95a86a
Certbot renewal hook scripts

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.
bin/certbot_authentication.sh [new file with mode: 0755]
bin/certbot_cleanup.sh [new file with mode: 0755]