Skip to content

Instantly share code, notes, and snippets.

Created January 22, 2018 10:35
What would you like to do?
Certbot with DNS verification and AWS route53 plugin
# run these first to install certbot globally with the route53 plugin
# $ sudo apt install python-setuptools
# $ sudo easy_install pip
# $ sudo -H pip install certbot-dns-route53
# verify the route53 plugin is present
# $ certbot plugins
# now create some credentials from AWS and copy here
# -
# -
export AWS_ACCESS_KEY_ID="accesskeyhere"
export AWS_SECRET_ACCESS_KEY="secretkeyhere"
certbot certonly -n --agree-tos --email --dns-route53 -d -d
# if you have used root keys, delete script from server and keys from AWS now
Copy link

don't forget to use pip3 and if you're updating, you should also pip3 install requests --upgrade apparently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment