summaryrefslogtreecommitdiff
path: root/plugin.sh
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth@simponic.xyz>2024-08-14 23:55:43 -0700
committerElizabeth Hunt <elizabeth@simponic.xyz>2024-08-14 23:55:43 -0700
commit5bf6faccc05ecc0db24705ad1f1b4c5311f3db5d (patch)
tree8cf78292282a199d2e679587e66fbbaf305fb36b /plugin.sh
parentdb88a4a8cc41ff604a112bda803f50b21865e3aa (diff)
downloadproxy-main.tar.gz
proxy-main.zip
fix cert genHEADmain
Diffstat (limited to 'plugin.sh')
-rwxr-xr-xplugin.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugin.sh b/plugin.sh
index ae234b9..f3b1195 100755
--- a/plugin.sh
+++ b/plugin.sh
@@ -2,17 +2,19 @@
unset REQUESTS_CA_BUNDLE
-API_KEY_FILE=/home/lizzy/git/hc-cert-dns/apikey.secret
+API_KEY_FILE=/home/lizzy/git/hatecomputers/hc-cert-dns/apikey.secret
ENDPOINT=https://hatecomputers.club
PUBLIC_SUFFIXES=.hatecomputers.club
CERTBOT_DOMAIN=$(echo $2 | sed 's/^_acme-challenge\.//')
CERTBOT_VALIDATION=$3
-/home/lizzy/git/hc-cert-dns/main.py --certbot \
+echo $1 $2 $3 >> /tmp/out
+
+/home/lizzy/git/hatecomputers/hc-cert-dns/main.py --certbot \
--public-suffixes=$PUBLIC_SUFFIXES \
--certbot-domain=$CERTBOT_DOMAIN \
--certbot-validation=$CERTBOT_VALIDATION \
--endpoint=$ENDPOINT \
--api-key-file=$API_KEY_FILE \
- --dns-propogate-time=5
+ --dns-propogate-time=5 2> /tmp/log