mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
df158a717d836e94df5cb64734ff8e1800bc161f
Make certbot-route53 python3 compatible
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
-
Create a virtual environment
-
Make sure you have libssl-dev (or your regional equivalent) installed.
pycparsersuffers from https://github.com/eliben/pycparser/issues/148, which is why we need to recompile it, which depends onlibssl-dev. -
Install by adding these to your requirements.txt file:
--no-binary pycparser
-e git+https://github.com/certbot/certbot.git#egg=certbot
-e git+https://github.com/certbot/certbot.git#egg=acme&subdirectory=acme
certbot-route53
We need DNS01 support in certbot, which is only available in master for now.
How to use it
Make sure you have access to AWS's Route53 service, either through IAM roles or
via .aws/credentials.
To generate a certificate:
certbot certonly \
-n --agree-tos --email DEVOPS@COMPANY.COM \
-a certbot-route53:auth \
-d MY.DOMAIN.NAME
Description
Certbot is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.
146 MiB
Languages
Python
94.5%
Shell
3.7%
Batchfile
0.8%
Makefile
0.7%
Augeas
0.2%