Update certs.inc
This commit is contained in:
@@ -301,7 +301,7 @@ LISTCERTS(){
|
||||
exit 0
|
||||
|
||||
elif [ "${certid}" != "" ] && [ "${CERTLIST[${certid}]}" != "" ]; then
|
||||
ecbo "HERE: ${certid} = '${CERTLIST[${certid}]}'"
|
||||
echo "HERE: ${certid} = '${CERTLIST[${certid}]}'"
|
||||
cert=${CERTLIST[${certid}]}
|
||||
certdir=${NM_CERTPATH}/live/${cert}
|
||||
SUBJECT=$(${NCMD} openssl x509 -in ${certdir}/cert.pem -noout -subject|grep -oP '(?<=CN = )[^,]+'|sort -uV)
|
||||
|
||||
Reference in New Issue
Block a user