Last active
April 25, 2019 08:16
-
-
Save mrunkel/081ceabaaa15d64937d7cf89bfbd5cb1 to your computer and use it in GitHub Desktop.
Ubuntu install certbot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install certbot | |
| apt update && apt install software-properties-common && add-apt-repository universe && add-apt-repository ppa:certbot/certbot -y && apt update && apt upgrade -y && apt install -y certbot python-certbot-nginx | |
| # Request cert | |
| certbot --nginx | |
| # Request cert via DNS | |
| # Set up ~/.aws/config first | |
| certbot -a dns-route53 -i nginx -d "oa-prod.pfdev.de" -d "secure.kautionsfrei.de" -d "secure.kautionsfuchs.de" --server https://acme-v02.api.letsencrypt.org/directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment