Update certs.inc

This commit is contained in:
2023-11-13 20:09:03 -06:00
parent b7e15d3327
commit bae4e9c6a8

View File

@@ -321,7 +321,7 @@ LISTCERTS(){
[ "${CHECKCERT_DOMAINS[${SUBJECT}]}" != "" ] && monitored="Yes" || monitored='-'
editc=0
until [ "${editc^}" = "C" ]; do
echo -e "\033[K ${idsCL[White]} Expires: ${idsCL[Cyan]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')"
echo -e "\033[K ${idsCL[White]} Expires: ${idsCL[Cyan]}$(date -d @${CERTEXPIRE} '+%B %d %Y')"
echo -e "\033[K ${idsCL[White]} Cert Common Name: ${idsCL[Cyan]}${SUBJECT}${idsST[Reset]}"
echo
echo -e "\033[K ${idsCL[Green]}1) ${idsCL[White]}Cert Alternate Names: ${idsCL[Cyan]}${SUBJECTNAMES//,/, }"