Skip to content

Instantly share code, notes, and snippets.

@wrannaman
Last active April 26, 2017 15:08
Show Gist options
  • Save wrannaman/f53bc1d91b4bc8ca9c6d32876f96200b to your computer and use it in GitHub Desktop.
Save wrannaman/f53bc1d91b4bc8ca9c6d32876f96200b to your computer and use it in GitHub Desktop.
lets encrypt on amazon linux ami with nginx
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
.certbot-auto certonly --standalone -d example.com -d www.example.com
## Haven't done the auto renew yet. but it seems to work ...
.certbot-auto renew --quiet --no-self-upgrade
If you're doing sub domains it doesnt like the www.sub.domain.com it just wants sub.domain.com
sudo letsencrypt certonly --text --agree-tos --email hello@email.com -d auth.yourapp.com -d app.yourapp.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment