Welcome to mirror list, hosted at ThFree Co, Russian Federation.

manual-dns-auth.sh « tests - github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: febecf455fb1692058e64fa2d7a12b0404e1865d (plain)
1
2
3
4
5
6
7
8
#!/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