Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user