Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-06 12:25:37 -06:00
parent 0d709597e6
commit 5f1eebd0d6

View File

@@ -125,7 +125,7 @@ LISTCERTS(){
echo
echo -e "${idsCL[LightGreen]}Current Certificates on Node...${idsCL[Default]}"
DIVIDER
echo -e "Subject Name Expires Alternate Subjects"
echo -e "Subject Name Expires Alternate Subjects"
DIVIDER
for certdir in /etc/letsencrypt/live/*/ ; do
SUBJECT=$(openssl x509 -in ${certdir}/cert.pem -noout -subject|grep -oP '(?<=CN = )[^,]+'|sort -uV)