[Helper] Fix expiry-dates.sh

master
andryyy 2020-06-01 21:43:28 +02:00
parent 680da56567
commit a036d5d5f1
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 2 additions and 2 deletions

View File

@ -8,5 +8,5 @@ DOVECOT=$(echo | openssl s_client -connect ${MAILCOW_HOSTNAME}:143 -starttls ima
NGINX=$(echo | openssl s_client -connect ${MAILCOW_HOSTNAME}:443 2>/dev/null | openssl x509 -inform pem -noout -enddate | cut -d "=" -f 2) NGINX=$(echo | openssl s_client -connect ${MAILCOW_HOSTNAME}:443 2>/dev/null | openssl x509 -inform pem -noout -enddate | cut -d "=" -f 2)
echo TLS expiry dates: echo TLS expiry dates:
echo Postfix: ${POSTFIX} echo Postfix: ${POSTFIX}
echo Dovecot: ${POSTFIX} echo Dovecot: ${DOVECOT}
echo Nginx: ${POSTFIX} echo Nginx: ${NGINX}