Public Repository

Last pushed: 10 months ago
Short Description
Use the dehydrated client to generate route 53 DNS based Let's Encrypt certificates
Full Description

To run:

docker run -it --rm \
    -v $(pwd):/dehydrated \
    -e AWS_ACCESS_KEY_ID="XXX" \
    -e AWS_SECRET_ACCESS_KEY="XXX" \
    jmreicha/dehydrated-dns --cron --domain test.example.com --hook ./route53.rb --challenge dns-01

Make sure your AWS credentials have the ability to update route53 records and also that they match the volume. These can be configured either by mounting in the ~/.aws/credentials file into the container or by using the AWS keys via environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

The certificates generated by dehydrated will get placed into the volume mounted above, in the example it is the current working directory/certs/<domain>.

Docker Pull Command
Owner
jmreicha

Comments (0)