19 lines
461 B
Plaintext
19 lines
461 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
unset REQUESTS_CA_BUNDLE
|
||
|
|
||
|
API_KEY_FILE=$(mktemp)
|
||
|
echo "{{ hatecomputers_api_key }}" >> $API_KEY_FILE
|
||
|
|
||
|
ENDPOINT=https://hatecomputers.club
|
||
|
PUBLIC_SUFFIXES=.hatecomputers.club
|
||
|
|
||
|
/root/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
|
||
|
|
||
|
rm $API_KEY_FILE
|