From 2ac64f7629decf557c932917d0b8a349bf4828db Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 13 Nov 2023 09:32:13 -0600 Subject: [PATCH] Update certs.inc --- inc/certs.inc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/inc/certs.inc b/inc/certs.inc index b87b136e..03e30149 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -184,17 +184,17 @@ LISTCERTS(){ shift done declare -i cw; declare -i spc1; declare -i c - if [ -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]; then - declare -A CHECKCERT_DOMAINS - IFS=$'\n' - for LINE in `egrep -v '(^#|^$)' ${NM_FOLDER}/conf/ssl-domain-checks.conf`; do - HOST=${LINE%% *} - PORT=${LINE#* } - IFS=" " - CHECKCERT_DOMAINS[${HOST}]=${PORT} - done - unset IFS - fi + # if [ -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]; then + # declare -A CHECKCERT_DOMAINS + # IFS=$'\n' + # for LINE in `egrep -v '(^#|^$)' ${NM_FOLDER}/conf/ssl-domain-checks.conf`; do + # HOST=${LINE%% *} + # PORT=${LINE#* } + # IFS=" " + # CHECKCERT_DOMAINS[${HOST}]=${PORT} + # done + # unset IFS + # fi # if [ ! -z ${LOCAL_SERVICES+x} ]; then # NCMD="ssh root@${NM_HOSTS['LB'][0]}"