Skip to content

Instantly share code, notes, and snippets.

@krasnuydyx
Created April 30, 2019 18:15
Show Gist options
  • Save krasnuydyx/0d474f8d3aa2a93f4ff944afaef0ba27 to your computer and use it in GitHub Desktop.
Save krasnuydyx/0d474f8d3aa2a93f4ff944afaef0ba27 to your computer and use it in GitHub Desktop.
certbot-cloudfront.sh
#!/usr/bin/env bash
AWS_ACCESS_KEY_ID="ARICICnfC3274R522L6F" \
AWS_SECRET_ACCESS_KEY="qLwaE0s7m/LrfP+" \
certbot --agree-tos -a certbot-s3front:auth \
--certbot-s3front:auth-s3-bucket sdfnowier \
--certbot-s3front:auth-s3-region us-east-2 \
-i certbot-s3front:installer \
--certbot-s3front:installer-cf-distribution-id EFGQREDSAF \
-d site.com -d www.site.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment