Skip to content

Instantly share code, notes, and snippets.

@girlcheese
Created November 28, 2016 14:05
Show Gist options
  • Save girlcheese/f9ab52ddc960176a13c3ed18b631c94a to your computer and use it in GitHub Desktop.
Save girlcheese/f9ab52ddc960176a13c3ed18b631c94a to your computer and use it in GitHub Desktop.
Certbot interaction to set up domains
export $DIR ...
export $DOMAINS ...
mkdir -p $DIR && ./root/certbot/certbot-auto certonly --server https://acme-v01.api.letsencrypt.org/directory -a webroot --webroot-path=$DIR --agree-dev-preview $DOMAINS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment