Last active
November 22, 2016 16:29
-
-
Save smj10j/93ba269411dca38d3fe440c19bf7bce5 to your computer and use it in GitHub Desktop.
create a basic cert with letsencrypt's 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
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
#!/usr/bin/env bash | |
# Halt on any errors | |
set -e | |
# Debugging | |
set -x | |
DOMAIN=southwest.mac.smj10j.net | |
[email protected] | |
sudo certbot certonly --standalone --http-01-port 80 --tls-sni-01-port 443 --domain "${DOMAIN}" --email "${ADMIN_EMAIL}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment