mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
* Remove aauthzr instance variable * If domain begins with fail, fail the challenge. * test --allow-subset-of-names * Fix renewal and add extra check * test after hook checks
8 lines
289 B
Bash
Executable file
8 lines
289 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# If domain begins with fail, fail the challenge by not completing it.
|
|
if [[ "$CERTBOT_DOMAIN" != fail* ]]; then
|
|
curl -X POST 'http://localhost:8055/set-txt' -d \
|
|
"{\"host\": \"_acme-challenge.$CERTBOT_DOMAIN.\", \
|
|
\"value\": \"$CERTBOT_VALIDATION\"}"
|
|
fi
|