Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-10 16:56:06 -06:00
parent 8bb43d915a
commit 86a629d9ad

View File

@@ -603,11 +603,11 @@ LISTCERTS(){
#CERTDATE=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -enddate | grep 'Not After')
COMMONNAME=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -subject | \
#COMMONNAME=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -subject | \
${SED} -e 's/.*CN=//' | \
${SED} -e 's/\/.*//')
SUBJECT=${COMMONNAME}
#SUBJECT=${COMMONNAME}
declare -i cw; declare -i spc1; declare -i c