Automated Let's Encrypt certificate generation and renewal
Uses letsencrypt.sh and lexicon to automate Let's Encrypt SSL certificate generation and renewal.
echo "my.domain.example.com" >> domains.txt
docker build --rm --tag letslexicon:latest .
docker run \
-e PROVIDER=cloudflare \
-e LEXICON_CLOUDFLARE_USERNAME=[cloudflare@example.com] \
-e LEXICON_CLOUDFLARE_TOKEN=[token] \
-v `pwd`/data/key:/letsencrypt.sh/key \
-v `pwd`/data/certs:/letsencrypt.sh/certs \
-v `pwd`/data/archive:/letsencrypt.sh/archive \
letslexicon -c
© 2016 Tom Vincent https://tlvince.com/contact
Released under the MIT License.