Skip to content

Instantly share code, notes, and snippets.

@mrunkel
Last active April 25, 2019 08:16
Show Gist options
  • Select an option

  • Save mrunkel/081ceabaaa15d64937d7cf89bfbd5cb1 to your computer and use it in GitHub Desktop.

Select an option

Save mrunkel/081ceabaaa15d64937d7cf89bfbd5cb1 to your computer and use it in GitHub Desktop.
Ubuntu install certbot
# 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