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
| # Set-up | |
| # Note: This will be our base path, since lets encrypt wants to use a folder inaccessible by new versions of osx | |
| mkdir /Users/{YOUR_LOCAL_USER}/Documents/letsencrypt | |
| # Read local certs | |
| sudo docker run -it --rm --name certbot \ | |
| -v "/Users/{YOUR_LOCAL_USER}/Documents/letsencrypt:/etc/letsencrypt" \ | |
| -v "/Users/{YOUR_LOCAL_USER}/Documents/letsencrypt/lib:/var/lib/letsencrypt" \ | |
| -p 80:80 \ | |
| -e AWS_ACCESS_KEY_ID='{AWS_ACCESS_KEY_ID}' \ |