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')
|
#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/.*CN=//' | \
|
||||||
${SED} -e 's/\/.*//')
|
# ${SED} -e 's/\/.*//')
|
||||||
|
|
||||||
#SUBJECT=${COMMONNAME}
|
#SUBJECT=${COMMONNAME}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user