Update certs.inc
This commit is contained in:
@@ -608,7 +608,7 @@ CHECK-CERTS(){
|
||||
for LINE in `egrep -v '(^#|^$)' ${NM_FOLDER}/conf/ssl-domain-checks.conf`; do
|
||||
HOST=${LINE%% *}
|
||||
PORT=${LINE#* }
|
||||
if [ "$(CHECK_HOST ${nip})" != "false" ]; then
|
||||
if [ "$(CHECK_HOST ${HOST})" != "false" ]; then
|
||||
CERTINFO=$(${NM_FOLDER}/ssl-cert-check/ssl-cert-check -p ${PORT} -s ${HOST} -N)
|
||||
# [ "${HOST}" == "test4.scity.us" ] && echo "${CERTINFO}"
|
||||
CERTVALID=$(echo ${CERTINFO} | awk -F' valid' '{print $1}')
|
||||
|
||||
Reference in New Issue
Block a user