Certificats Let's Encrypt
Find a file
2016-10-03 20:08:33 +01:00
letsencrypt_route53 Updates for authenticator, still WIP 2016-02-02 07:45:51 +00:00
.gitignore Initial commit 2016-01-31 18:35:35 -08:00
LICENSE Initial commit 2016-01-31 18:35:35 -08:00
LICENSE.txt Initial commit, not safe to use 2016-01-31 22:33:17 -08:00
MANIFEST.in Initial commit, not safe to use 2016-01-31 22:33:17 -08:00
README.md Readme update 2016-02-08 17:24:34 -08:00
sample-aws-policy.json Initial commit, not safe to use 2016-01-31 22:33:17 -08:00
setup.cfg Initial commit, not safe to use 2016-01-31 22:33:17 -08:00
setup.py Change package names 2016-10-03 20:08:33 +01:00

Route53 plugin for Let's Encrypt client

Before you start

It's expected that the root hosted zone for the domain in question already exists in your account.

Setup

  1. Install the letsencrypt client https://letsencrypt.readthedocs.org/en/latest/using.html#installation
pip install letsencrypt
  1. Install the letsencrypt-route53 plugin
pip install letsencrypt-route53

How to use it

To generate a certificate and install it in a CloudFront distribution:

AWS_ACCESS_KEY_ID="your_key" \
AWS_SECRET_ACCESS_KEY="your_secret" \
letsencrypt --agree-tos -a letsencrypt-route53:auth \
-d the_domain

Follow the screen prompts and you should end up with the certificate in your distribution. It may take a couple minutes to update.

To automate the renewal process without prompts (for example, with a monthly cron), you can add the letsencrypt parameters --renew-by-default --text