Hook scripts for automating the issue and renewal of Let's Encrypt certificates when using Linode's DNS platform.
Go to file
2019-04-25 12:59:14 +01:00
linode-auth-hook.sh Added the domain authorisation script 2019-04-25 12:48:00 +01:00
linode-cleanup-hook.sh Added the cleanup hook script 2019-04-25 12:48:10 +01:00
README.md Included links to the files 2019-04-25 12:59:14 +01:00

Let's Encrypt plugin scripts for Linode DNS

Hook scripts for automating the issue and renewal of Let's Encrypt certificates when using Linode's DNS platform.

Installation

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.

Download the [linode-auth-hook.sh](https://apps.andysh.uk/aheathershaw/letsencrypt-linode/src/branch/master/linode-auth-hook.sh) and [linode-cleanup-hook.sh](https://apps.andysh.uk/aheathershaw/letsencrypt-linode/src/branch/master/linode-cleanup-hook.sh) shell scripts and make a note of where you have downloaded them to.

Usage

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.