From ee557c9e3fc1ed9dbcbcd1633bb70cce7a6158a3 Mon Sep 17 00:00:00 2001 From: Germain Masse Date: Sun, 29 Nov 2020 20:23:43 +0100 Subject: [PATCH] Command-line to verify certificate dates --- docs/content/config/security/ssl.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/content/config/security/ssl.md b/docs/content/config/security/ssl.md index 48578bd1..3f2ae276 100644 --- a/docs/content/config/security/ssl.md +++ b/docs/content/config/security/ssl.md @@ -454,6 +454,11 @@ And you should see the certificate chain, the server certificate and: Verify return code: 0 (ok) +In addition, to verify certificate dates: + + docker exec mail openssl s_client -connect 0.0.0.0:25 -starttls smtp -CApath /etc/ssl/certs/ 2>/dev/null | openssl x509 -noout -dates + + ### Plain text access Not recommended for purposes other than testing.