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