Browse Source

Removed extra files

Dmitry Yu Okunev 4 years ago
parent
commit
7720e69ce3

+ 0 - 16
generate-certificate-auth-hook.sh

@@ -1,16 +0,0 @@
-#!/bin/bash
-
-. /root/bin/generate-certificate-common.sh
-
-echo "${VERIFICATION_DOMAIN}:"
-
-/root/bin/generate-certificate-cleanup-hook.sh
-
-addRecord "$VERIFICATION_DOMAIN" "$CERTBOT_VALIDATION"
-RC="$?"
-if [ "$RC" != '0' ]; then
-	exit $RC
-fi
-
-echo "waiting 10 seconds for the TXT-record of $VERIFICATION_DOMAIN to propagate"
-sleep 10

+ 0 - 14
generate-certificate-cleanup-hook.sh

@@ -1,14 +0,0 @@
-#!/bin/bash
-
-. /opt/certbot-telemedhelp-authenticator-hook/_common.sh
-
-CURRENT_RECORDS=( $(getRecords "$VERIFICATION_DOMAIN") )
-
-for CURRENT_RECORD in ${CURRENT_RECORDS[@]}; do
-	CLOUDFLARE_DOMAIN="$(getDomain "$VERIFICATION_DOMAIN")"
-	removeRecord "${CLOUDFLARE_ZONE[$CLOUDFLARE_DOMAIN]}" "$CURRENT_RECORD"
-	RC="$?"
-	if [ "$RC" != '0' ]; then
-		exit $RC
-	fi
-done

+ 0 - 3
generate-certificate-common.sh

@@ -1,3 +0,0 @@
-
-
-VERIFICATION_DOMAIN="_acme-challenge.$CERTBOT_DOMAIN"