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