From 88e1d453f043a80f3654846c7e90e43c6ea5eba4 Mon Sep 17 00:00:00 2001 From: Hans-Cees Speel Date: Tue, 25 Feb 2020 14:27:31 +0100 Subject: [PATCH] Updated Configure SSL (markdown) --- docs/content/config/security/ssl.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/config/security/ssl.md b/docs/content/config/security/ssl.md index 880ef1ad..c7c899c1 100644 --- a/docs/content/config/security/ssl.md +++ b/docs/content/config/security/ssl.md @@ -342,11 +342,12 @@ What does the script that imports the certificates do: 3. if so it will copy the certs to the right places 4. and restart postfix and dovecot -You can ofcourse put the script and run it by cron once a week or something. In that way you could automate cert renewal. If you do so it is probably wise to run an automated check on certificate expiry as well. Such a check could look something like this: +You can ofcourse run the script by cron once a week or something. In that way you could automate cert renewal. If you do so it is probably wise to run an automated check on certificate expiry as well. Such a check could look something like this: ``` ## code below will alert if certificate expires in less than two weeks ## please adjust varables! +## make sure the mail -s command works! Test! export SITE_URL="mail.mydomain.net" export SITE_IP_URL="192.168.2.72" ## can also be mail.mydomain.net