-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
Showing
5 changed files
with
99 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
#!/bin/sh | ||
curl -X POST 'http://localhost:8055/set-txt' -d \ | ||
"{\"host\": \"_acme-challenge.$CERTBOT_DOMAIN.\", \ | ||
\"value\": \"$CERTBOT_VALIDATION\"}" | ||
#!/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 |
Oops, something went wrong.