]> Untitled Git - proxy.git/blob - script/certbot-fetch.sh
Updated with letsencrypt SSL
[proxy.git] / script / certbot-fetch.sh
1 #!/bin/bash
2 # source: https://eff-certbot.readthedocs.io/en/latest/install.html#alternative-1-docker
3
4 docker run -it --rm --name certbot \
5             -v "/etc/letsencrypt:/etc/letsencrypt" \
6             -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
7             -v "$HOME/.aws:/aws" \
8             -e "AWS_CONFIG_FILE=/aws/config" \
9             -e "AWS_SHARED_CREDENTIALS_FILE=/aws/credentials" \
10             -p 80:80 \
11             certbot/dns-route53 certonly