From e39f07ddd106cd93f9667c2d3350d3e4cdcec134 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Feb 2019 00:13:54 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 5b92ca99..c713490b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -101,7 +101,7 @@ LISTCERTS(){ SUBJECTNAMES=$(echo $SUBJECTNAMES | sed "s/, ${SUBJECT}//g") SUBJECTNAMES=$(echo $SUBJECTNAMES | sed "s/${SUBJECT}//g") CERTEXPIRE=$(date -d "$(: | openssl x509 -in ${certdir}/cert.pem -text | grep 'Not After' |awk '{print $4,$5,$7}')" '+%s'); - DAYS=86; DUEIN=$(($(date +%s) + (86400*$DAYS))); + DAYS=100; DUEIN=$(($(date +%s) + (86400*$DAYS))); DIVIDER true echo -e "Certificate Subject: ${idsST[Bold]}${idsBG[Blue]}${SUBJECT}${idsST[Reset]}${idsBG[Default]}"