From 70108fbafb8ce60c72b3dac457abbe8580ff0262 Mon Sep 17 00:00:00 2001 From: raunsbaekdk Date: Fri, 29 Jan 2016 23:20:44 +0100 Subject: [PATCH 1/4] Updated description Making it clearer that you are supposed to create the TXT record under the _acme-challenge subdomain --- le.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/le.sh b/le.sh index fe2c30cb..2f362323 100755 --- a/le.sh +++ b/le.sh @@ -616,9 +616,11 @@ issue() { _debug txt "$txt" #dns #1. check use api - _err "Add the following txt record:" - _err "Domain:$txtdomain" - _err "Txt value:$txt" + _err "Add the following TXT records:" + _err "Domain: $txtdomain" + _err "TXT value: $txt" + _err "\n" + _err "Please be aware that you append _acme-challenge before your domain\nso the resulting subdomain will be: $txtdomain" #dnsadded='1' fi done From a9ca4d670e3d93dee8c62dd850211d4930d98c92 Mon Sep 17 00:00:00 2001 From: raunsbaekdk Date: Fri, 29 Jan 2016 23:23:25 +0100 Subject: [PATCH 2/4] The user are only supposed to create or update 1 TXT record The user are only supposed to create or update 1 TXT record --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/le.sh b/le.sh index 2f362323..7582bbff 100755 --- a/le.sh +++ b/le.sh @@ -616,7 +616,7 @@ issue() { _debug txt "$txt" #dns #1. check use api - _err "Add the following TXT records:" + _err "Add the following TXT record:" _err "Domain: $txtdomain" _err "TXT value: $txt" _err "\n" From 688ab38aa7a70b66a80915ea8ca1013b54571e94 Mon Sep 17 00:00:00 2001 From: raunsbaekdk Date: Fri, 29 Jan 2016 23:25:01 +0100 Subject: [PATCH 3/4] Changed from append to prepend --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/le.sh b/le.sh index 7582bbff..efdb1ca8 100755 --- a/le.sh +++ b/le.sh @@ -620,7 +620,7 @@ issue() { _err "Domain: $txtdomain" _err "TXT value: $txt" _err "\n" - _err "Please be aware that you append _acme-challenge before your domain\nso the resulting subdomain will be: $txtdomain" + _err "Please be aware that you prepend _acme-challenge. before your domain\nso the resulting subdomain will be: $txtdomain" #dnsadded='1' fi done From 25f9d1c42f65145e0ec4e9242cf634e9d5a3a136 Mon Sep 17 00:00:00 2001 From: raunsbaekdk Date: Fri, 29 Jan 2016 23:29:20 +0100 Subject: [PATCH 4/4] Fixed linebreaks and updated txt to TXT --- le.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/le.sh b/le.sh index efdb1ca8..493e4438 100755 --- a/le.sh +++ b/le.sh @@ -619,8 +619,8 @@ issue() { _err "Add the following TXT record:" _err "Domain: $txtdomain" _err "TXT value: $txt" - _err "\n" - _err "Please be aware that you prepend _acme-challenge. before your domain\nso the resulting subdomain will be: $txtdomain" + _err "Please be aware that you prepend _acme-challenge. before your domain" + _err "so the resulting subdomain will be: $txtdomain" #dnsadded='1' fi done @@ -628,7 +628,7 @@ issue() { if [ "$dnsadded" == '0' ] ; then _setopt "$DOMAIN_CONF" "Le_Vlist" "=" "\"$vlist\"" _debug "Dns record not added yet, so, save to $DOMAIN_CONF and exit." - _err "Please add the txt records to the domains, and retry again." + _err "Please add the TXT records to the domains, and retry again." return 1 fi