Skip to content

Instantly share code, notes, and snippets.

@pine
Created December 27, 2015 22:02
Show Gist options
  • Save pine/88a837b96cb6325f1c06 to your computer and use it in GitHub Desktop.
Save pine/88a837b96cb6325f1c06 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -xe
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./letsencrypt-auto
./letsencrypt-auto certonly \
--standalone \
--standalone-supported-challenges http-01 \
--register-unsafely-without-email \
--renew-by-default \
-d www.example.com \
--agree-tos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment