view mod_checkcerts/README.markdown @ 2808:2cc02ee82e8c

mod_firewall/test: Move session variable to avoid warning about it being shadowed [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 20 Oct 2017 02:53:12 +0200
parents 4d73a1a6ba68
children 9e5616a49d59
line wrap: on
line source

---
labels:
summary: Certificate expiry reminder
...

Introduction
============

This module periodically checks your certificate to see if it is about
to expire soon. The time before expiry is printed in the logs. About a
week before a certificate expires, reminder messages will be sent to
admins.

Configuration
=============

Simply add the module to the `modules_enabled` list. You can optionally
configure how long before expiry to start sending messages to admins.

    modules_enabled = {
        ...
        "checkcerts"
    }
    checkcerts_notify = 7 -- ( in days )

Compatibility
=============

Needs LuaSec 0.5+