Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-10 17:05:21 -06:00
parent c5fe6f5326
commit 0c1eef4a87

View File

@@ -601,6 +601,7 @@ LISTCERTS(){
CERTDATE=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -enddate -noout -inform pem | ${SED} 's/notAfter\=//')
set -- ${CERTDATE}
# SUBJECT=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -subject -noout -inform pem | \
# ${SED} -e 's/.*CN=//' | \
# ${SED} -e 's/\/.*//')