Update certs.inc

This commit is contained in:
2023-11-13 09:49:22 -06:00
parent 116eab0475
commit 18c660823c

View File

@@ -392,7 +392,6 @@ LISTCERTS(){
[ ! -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ] && touch ${NM_FOLDER}/conf/ssl-domain-checks.conf
echo "${SUBJECT} 443" >> ${NM_FOLDER}/conf/ssl-domain-checks.conf >/dev/null 2&>1
checkcerts_sorted=$(sort <<< "$(cat ${NM_FOLDER}/conf/ssl-domain-checks.conf)")
echo "${NM_NODEMANAGER} - $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1 | head -n1)"
if [ "${NM_NODEMANAGER}" != "$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1 | head -n1)" ]; then
echo "HERE: CHANGING on MYSQL"
ssh root@${NM_NODEMANAGER} "rm -f ${NM_FOLDER}/conf/ssl-domain-checks.conf" #>/dev/null 2&>1