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