]> Untitled Git - web-certificates.git/commitdiff
Initial version of certbot script
authorClifton Palmer <clifton.james.palmer@protonmail.com>
Mon, 15 Jul 2024 12:01:45 +0000 (07:01 -0500)
committerClifton Palmer <clifton.james.palmer@protonmail.com>
Mon, 15 Jul 2024 12:01:45 +0000 (07:01 -0500)
certbot-fetch.sh [new file with mode: 0755]

diff --git a/certbot-fetch.sh b/certbot-fetch.sh
new file mode 100755 (executable)
index 0000000..9b4267d
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+# source: https://eff-certbot.readthedocs.io/en/latest/install.html#alternative-1-docker
+
+docker run -it --rm --name certbot \
+            -v "/etc/letsencrypt:/etc/letsencrypt" \
+            -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
+            -v "$HOME/.aws:/aws" \
+            -e "AWS_CONFIG_FILE=/aws/config" \
+            -e "AWS_SHARED_CREDENTIALS_FILE=/aws/credentials" \
+            -p 80:80 \
+            certbot/dns-route53 certonly