X-Git-Url: http://git.purplebirdman.com/web-certificates.git/blobdiff_plain/128b6ae2b0a980dfd983882ed8fbf3ddc54c3185..b3ca11702d9a5c6f52646dc2773ca0676e167bb0:/fetch-certificates.sh diff --git a/fetch-certificates.sh b/fetch-certificates.sh index 60cf431..887c665 100755 --- a/fetch-certificates.sh +++ b/fetch-certificates.sh @@ -1,7 +1,11 @@ #!/bin/bash # source: https://eff-certbot.readthedocs.io/en/latest/install.html#alternative-1-docker -docker run -it --rm --name certbot \ +# make sure the local image is always up to date +docker image pull certbot/dns-route53 + +# run local instance only long enough to collect the certificate +docker run --rm --name certbot \ -v "/etc/letsencrypt:/etc/letsencrypt" \ -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \ -v "$HOME/.aws:/aws" \