Skip to content

Instantly share code, notes, and snippets.

@danrossi
Created April 23, 2016 02:06
Show Gist options
  • Save danrossi/9671af71f1c4e6d429658b5231ae6634 to your computer and use it in GitHub Desktop.
Save danrossi/9671af71f1c4e6d429658b5231ae6634 to your computer and use it in GitHub Desktop.
Lets Encrypt Install Script For Cloudfront
#!/bin/sh
AWS_ACCESS_KEY_ID="key" \
AWS_SECRET_ACCESS_KEY="key" \
letsencrypt \
--agree-tos -a letsencrypt-s3front:auth \
--letsencrypt-s3front:auth-s3-bucket bucket-name \
--letsencrypt-s3front:auth-s3-region bucket-region \
-i letsencrypt-s3front:installer \
--letsencrypt-s3front:installer-cf-distribution-id cloudfront-dist-id \
-d cname-host-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment