From 73449977a8a4732b875da7eb72b4fa5347f9e334 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 27 Dec 2022 16:54:26 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 65b9e532..444fae73 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -958,7 +958,10 @@ COPYCERTS_NPM(){ SUBJECT=$(${NCMD} openssl x509 -in ${certdir}cert.pem -noout -subject|grep -oP '(?<=CN = )[^,]+'|sort -uV) echo $SUBJECT if [ ! -L ${ssldir}/${SUBJECT} ]; then + echo "no folder found... creating" /bin/ln -s ${certdir} ${ssldir}/${SUBJECT} + else + echo "folder found" fi done echo