local-letsencrypt/client/install-hook.sh

6 lines
170 B
Bash
Executable File

#!/bin/bash
. $(dirname $(realpath $0))/hook-config
curl "$API_URL/api/1/add?token=$API_TOKEN&record=_acme-challenge.$CERTBOT_DOMAIN:TXT&value=\"$CERTBOT_VALIDATION\""