diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a1f69fd5..0602bdfa 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -600,7 +600,7 @@ LISTCERTS(){ SED=$(which sed) - # CERTDATE=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -enddate -noout -inform pem | ${SED} 's/notAfter\=//') + CERTDATE=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -enddate -noout -inform pem | ${SED} 's/notAfter\=//') # SUBJECT=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -subject -noout -inform pem | \ # ${SED} -e 's/.*CN=//' | \ # ${SED} -e 's/\/.*//')