Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-11 12:30:02 -06:00
parent 2a3f5a7c2c
commit 8e8cfe9429

View File

@@ -593,9 +593,9 @@ LISTCERTS(){
fi
echo
echo -e "${idsCL[LightGreen]}Current Certificates on Node...${idsCL[Default]}"
DIVIDER
DIVIDER false yellow 100
echo -e "Subject Name Expires Alternate Subjects"
DIVIDER
DIVIDER false yellow 100
for certdir in $(</tmp/ssllist); do
SUBJECT=$(${NCMD} openssl x509 -in ${certdir}/cert.pem -noout -subject|grep -oP '(?<=CN = )[^,]+'|sort -uV)