Browse Source

Merge 0a011d4f6f into 4e2426a2b4

pull/479/merge
dakanji 9 years ago
committed by GitHub
parent
commit
f3b6b97fa9
  1. 8
      acme.sh

8
acme.sh

@ -3332,6 +3332,7 @@ issue() {
done
_debug vlist "$vlist"
#add entry
alldomains=""
dnsadded=""
ventries=$(echo "$vlist" | tr "$dvsep" ' ')
for ventry in $ventries; do
@ -3346,6 +3347,7 @@ issue() {
fi
if [ "$vtype" = "$VTYPE_DNS" ]; then
alldomains="-d $d $alldomains"
dnsadded='0'
txtdomain="_acme-challenge.$d"
_debug txtdomain "$txtdomain"
@ -3362,7 +3364,7 @@ issue() {
_err "Add the following TXT record:"
_err "Domain: '$(__green "$txtdomain")'"
_err "TXT value: '$(__green "$txt")'"
_err "Please be aware that you prepend _acme-challenge. before your domain"
_err "Please ensure you prepend _acme-challenge before your domain name"
_err "so the resulting subdomain will be: $txtdomain"
continue
fi
@ -3396,8 +3398,8 @@ issue() {
if [ "$dnsadded" = '0' ]; then
_savedomainconf "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."
_debug "DNS record not added yet, so, save to $DOMAIN_CONF and exit."
_err "Update the DNS TXT records and run: $(__green "acme.sh --renew $alldomains")"
_clearup
_on_issue_err "$_post_hook"
return 1

Loading…
Cancel
Save