From 8bb43d915af5629e463d754c6c5004f087b82cdf Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 10 Feb 2019 16:55:21 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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