Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user