Last active
March 28, 2019 12:24
-
-
Save ipedrazas/16bc3c7216a2c522f8c98c2602009485 to your computer and use it in GitHub Desktop.
docker renew wildcard cert with letsencrypt
This file contains 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
# First we start the manual process, this will give us the details of the TXT entry we | |
# have to use | |
docker run --rm -it \ | |
-v "${HOME}/.acme":/acme.sh \ | |
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \ | |
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \ | |
-e HOME=/root \ | |
neilpang/acme.sh --issue --dns -d "*.istio.sandbox.nutmeg.co.uk" --yes-I-know-dns-manual-mode-enough-go-ahead-please | |
# Once the TXT record has been created we run this command that generates the certs | |
docker run --rm -it \ | |
-v "${HOME}/.acme":/acme.sh \ | |
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \ | |
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \ | |
-e HOME=/root \ | |
neilpang/acme.sh --issue --dns -d "*.istio.sandbox.nutmeg.co.uk" --yes-I-know-dns-manual-mode-enough-go-ahead-please --renew |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment