diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 6ea19116..05396658 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -601,7 +601,7 @@ LISTCERTS(){ SED=$(which sed) - CERTDATE=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -enddate | grep 'Not After') + #CERTDATE=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -enddate | grep 'Not After') COMMONNAME=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -subject | \ ${SED} -e 's/.*CN=//' | \ @@ -619,7 +619,7 @@ LISTCERTS(){ else date="${idsCL[Green]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsCL[Default]}" fi - echo -e "${idsCL[Cyan]}${SUBJECT}${spc}${CERTDATE} ${idsCL[Cyan]}${SUBJECTNAMES}${idsCL[Default]}" + echo -e "${idsCL[Cyan]}${SUBJECT}${spc}${date} ${idsCL[Cyan]}${SUBJECTNAMES}${idsCL[Default]}" done echo if [ -z $action ] || [ "${action}" = "gui" ]; then