diff --git a/getssl b/getssl index f62174e..be7f2bc 100755 --- a/getssl +++ b/getssl @@ -240,6 +240,8 @@ # 2020-09-02 Fix issue when SANS is space and comma separated (#579) (2.30) # 2020-10-02 Various fixes to get_auth_dns and changes to support unit tests (#308) # 2020-10-04 Add CHECK_PUBLIC_DNS_SERVER to check the DNS challenge has been updated there +# 2020-10-13 Bugfix: strip comments in drill/dig output (mhameed) +# 2020-11-18 Wildcard support (#347)(#400) # ---------------------------------------------------------------------------------------- PROGNAME=${0##*/} @@ -2945,6 +2947,7 @@ if [[ ${CHECK_REMOTE} == "true" ]]; then debug "Checking ${CERTS[i]}" # shellcheck disable=SC2086 debug openssl s_client -servername "${real_d}" -connect "${real_d}:${REMOTE_PORT}" ${REMOTE_EXTRA} ${PARAMS[i]} + # shellcheck disable=SC2086 CERT_REMOTE=$(echo \ | openssl s_client -servername "${real_d}" -connect "${real_d}:${REMOTE_PORT}" ${REMOTE_EXTRA} ${PARAMS[i]} 2>/dev/null \ | openssl x509 -noout -fingerprint 2>/dev/null)