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

manual-dns-cleanup.sh « tests - github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1c09e892cb124e7644147792a7430f62bd5157fa (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

# If domain begins with fail, we didn't complete the challenge so there is
# nothing to clean up.
if [[ "$CERTBOT_DOMAIN" != fail* ]]; then
    curl -X POST 'http://localhost:8055/clear-txt' -d \
        "{\"host\": \"_acme-challenge.$CERTBOT_DOMAIN.\"}"
fi