Update certs.inc

This commit is contained in:
2023-11-13 09:34:35 -06:00
parent fe5dd72e48
commit f5384d8942

View File

@@ -184,7 +184,7 @@ LISTCERTS(){
shift shift
done done
declare -i cw; declare -i spc1; declare -i c; declare -A CHECKCERT_DOMAINS declare -i cw; declare -i spc1; declare -i c; declare -A CHECKCERT_DOMAINS
if [ ! -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]; then if [ -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]; then
IFS=$'\n' IFS=$'\n'
for LINE in `egrep -v '(^#|^$)' ${NM_FOLDER}/conf/ssl-domain-checks.conf`; do for LINE in `egrep -v '(^#|^$)' ${NM_FOLDER}/conf/ssl-domain-checks.conf`; do
@@ -194,7 +194,6 @@ LISTCERTS(){
CHECKCERT_DOMAINS[${HOST}]=${PORT} CHECKCERT_DOMAINS[${HOST}]=${PORT}
done done
unset IFS unset IFS
fi fi
# if [ ! -z ${LOCAL_SERVICES+x} ]; then # if [ ! -z ${LOCAL_SERVICES+x} ]; then