|Andy Heathershaw 5ec4620664||1 year ago|
|README.md||1 year ago|
|linode-auth-hook.sh||1 year ago|
|linode-cleanup-hook.sh||1 year ago|
Hook scripts for automating the issue and renewal of Let's Encrypt certificates when using Linode's DNS platform.
These scripts use Linode's official CLI client to interact with the Linode API.
Install the official Linode CLI client using Linode's official guide.
To use the scripts for a new domain renewal, use the "manual" plugin with the extra "hook" options.
This example requests a wildcard certificate for the domain
yourdomain.com - change accordingly.
certbot certonly --manual -d *.yourdomain.com -d yourdomain.com --preferred-challenges dns-01 --manual-auth-hook /path/to/linode-auth-hook.sh --manual-cleanup-hook /path/to/linode-cleanup-hook.sh.
Please note: Linode only deploy changes to their nameservers roughly every 15 minutes, so DNS records do not show up immediately. The authorisation script waits for 20 minutes after creating a record before exiting to allow the DNS records to be deployed before Let's Encrypt verifies them. Therefore this script can take some time to run. Once a certificate has been issued, renewals happen non-interactively.