From 4bc0c98359651b0a022978494adb2cc00aa6f08b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 25 May 2023 19:19:32 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/sites.inc b/inc/sites.inc index ac00c101..5b38a532 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -547,7 +547,7 @@ SITEINFO(){ certpath=${certpath%/*}; certpath=${certpath#* } SUBJECTNAMES=$(openssl x509 -in ${certpath}/cert.pem -noout -text|grep -oP '(?<=DNS:|IP Address:)[^,]+'|sort -uV) CERTEXPIRE=$(date -d "$(: | openssl x509 -in ${certpath}/cert.pem -text | grep 'Not After' |awk '{print $4,$5,$7}')" '+%s'); - + SUBJECTNAMES=${SUBJECTNAMES//$'\n'/, } else ssl='-' fi