From 38dc13bb1912db9a5a3a66a6f4fdd0e28a57f949 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Feb 2019 08:36:43 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index b5b536e1..101763db 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -600,13 +600,6 @@ LISTCERTS(){ 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=14; DUEIN=$(($(date +%s) + (86400*$DAYS))); - - - - SUBJECT=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -subject -noout -inform pem | \ - ${SED} -e 's/.*CN=//' | \ - ${SED} -e 's/\/.*//') - declare -i cw; declare -i spc1; declare -i c c=0; cw=30; spc=''