From 5bf6faccc05ecc0db24705ad1f1b4c5311f3db5d Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Wed, 14 Aug 2024 23:55:43 -0700 Subject: fix cert gen --- plugin.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'plugin.sh') 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 -- cgit v1.2.3-70-g09d2