Software /
code /
prosody-modules
Comparison
mod_checkcerts/README.md @ 6209:d611ed13df7e draft
Merge
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Tue, 18 Mar 2025 00:16:25 +0700 |
child | 6211:750d64c47ec6 |
comparison
equal
deleted
inserted
replaced
6208:e20901443eae | 6209:d611ed13df7e |
---|---|
1 --- | |
2 labels: | |
3 - Stage-Broken | |
4 summary: Certificate expiry reminder | |
5 ... | |
6 | |
7 ::: {.alert .alert-info} | |
8 This module is incompatible with prosody since version 0.10. | |
9 ::: | |
10 | |
11 Introduction | |
12 ============ | |
13 | |
14 This module periodically checks your certificate to see if it is about | |
15 to expire soon. The time before expiry is printed in the logs. About a | |
16 week before a certificate expires, reminder messages will be sent to | |
17 admins. | |
18 | |
19 Configuration | |
20 ============= | |
21 | |
22 Simply add the module to the `modules_enabled` list. You can optionally | |
23 configure how long before expiry to start sending messages to admins. | |
24 | |
25 modules_enabled = { | |
26 ... | |
27 "checkcerts" | |
28 } | |
29 checkcerts_notify = 7 -- ( in days ) | |
30 | |
31 Compatibility | |
32 ============= | |
33 | |
34 Needs LuaSec 0.5+ | |
35 | |
36 Originally written for Prosody 0.9.x, apparently incompatible with | |
37 0.10 or greater |