Update nodemgmt-scripts.sh
This commit is contained in:
@@ -604,8 +604,8 @@ 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/\/.*//')
|
||||
# ${SED} -e 's/.*CN=//' | \
|
||||
# ${SED} -e 's/\/.*//')
|
||||
|
||||
#SUBJECT=${COMMONNAME}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user