Add ssl-expiration example using :starttls

This commit is contained in:
Solene Rapenne 2018-10-21 21:42:39 +02:00
parent 8b2407ed4b
commit 982e667ad5
1 changed files with 4 additions and 0 deletions

4
README
View File

@ -344,8 +344,12 @@ time. Requires openssl.
> Set the port for the request (OPTIONAL).
:port INTEGER (default to 443)
> Use starttls (OPTIONAL).
:starttls STRING
Example: `(=> alert ssl-expiration :host "domain.local" :seconds (* 7 24 60 60))
Example: `(=> alert ssl-expiration :host "domain.local" :seconds 86400 :port 6697)
Example: `(=> alert ssl-expiration :host "smtp.domain.local" :seconds 86400 :starttls "smtp" :port 25)
The configuration file