Browse Source

Fix the merge to include changes on the same lines I ignored. Add dated comment line.

pull/519/head
Scott Gustafson 6 years ago
parent
commit
0278ae5049
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      getssl

+ 3
- 2
getssl View File

@ -213,6 +213,7 @@
# 2020-02-12 Fix "Registration key already in use" (2.19)
# 2020-02-13 Fix bug with copying to all locations when creating RSA and ECDSA certs (2.20)
# 2020-02-22 Change sign_string to use openssl asn1parse (better fix for #424)
# 2020-02-23 Add dig to config check for systems without drill (ubuntu)
# ----------------------------------------------------------------------------------------
PROGNAME=${0##*/}
@ -433,9 +434,9 @@ check_config() { # check the config files for all obvious errors
info "${DOMAIN}: ACL location not specified for domain $d in $DOMAIN_DIR/getssl.cfg"
config_errors=true
fi
# check domain exist
# check domain exists
if [[ "$DNS_CHECK_FUNC" == "drill" ]]; then
if [[ "$($DNS_CHECK_FUNC "${d}" SOA|grep -c "^${d}")" -ge 1 ]]; then
if [[ "$($DNS_CHECK_FUNC "${d}" |grep -c "${d}")" -ge 1 ]]; then
debug "found IP for ${d}"
else
info "${DOMAIN}: DNS lookup failed for ${d}"


Loading…
Cancel
Save