Updated DNS description

Making it clearer that you are supposed to create the TXT record under the _acme-challenge subdomain
This commit is contained in:
raunsbaekdk 2016-01-29 23:35:34 +01:00
parent b3a2aac829
commit d4d645908f

10
le.sh
View File

@ -616,9 +616,11 @@ issue() {
_debug txt "$txt" _debug txt "$txt"
#dns #dns
#1. check use api #1. check use api
_err "Add the following txt record:" _err "Add the following TXT record:"
_err "Domain:$txtdomain" _err "Domain: $txtdomain"
_err "Txt value:$txt" _err "TXT value: $txt"
_err "Please be aware that you prepend _acme-challenge. before your domain"
_err "so the resulting subdomain will be: $txtdomain"
#dnsadded='1' #dnsadded='1'
fi fi
done done
@ -626,7 +628,7 @@ issue() {
if [ "$dnsadded" == '0' ] ; then if [ "$dnsadded" == '0' ] ; then
_setopt "$DOMAIN_CONF" "Le_Vlist" "=" "\"$vlist\"" _setopt "$DOMAIN_CONF" "Le_Vlist" "=" "\"$vlist\""
_debug "Dns record not added yet, so, save to $DOMAIN_CONF and exit." _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 return 1
fi fi