This script helps to regenerate CRL whenever is expires. Copy it into the Easy-RSA root, e.g. /etc/openvpn/easy-rsa and use it like the all other Easy-RSA scripts:
# source vars
# ./regen-crl
To run it automagically at every day, just put this into /etc/cron.daily
:
#!/bin/bash
cd /etc/openvpn/easy-rsa
source vars
./regen-crl
And that's all!
This script and its documentation is licensed under the terms of Creative Commons BY-SA 4.0 license.
Copyright © Gabor Garami 2020