Update nodemgmt-scripts.sh
This commit is contained in:
@@ -603,9 +603,9 @@ LISTCERTS(){
|
||||
|
||||
#CERTDATE=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -enddate | grep 'Not After')
|
||||
|
||||
#COMMONNAME=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -subject | \
|
||||
${SED} -e 's/.*CN=//' | \
|
||||
${SED} -e 's/\/.*//')
|
||||
# COMMONNAME=$(${OPENSSL} x509 -in ${certdir}/cert.pem -text -subject | \
|
||||
# ${SED} -e 's/.*CN=//' | \
|
||||
# ${SED} -e 's/\/.*//')
|
||||
|
||||
#SUBJECT=${COMMONNAME}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user