forked from Lainports/opnsense-ports
22 lines
671 B
Text
22 lines
671 B
Text
|
|
To use this script you should copy the examples in
|
|
%%PREFIX%%/etc/%%PORTNAME%%/ and at least add a
|
|
domain and a contact mail address.
|
|
|
|
You should also copy the openssl.cnf.sample file in
|
|
%%PREFIX%%/openssl so you won't get warnings about
|
|
it missing.
|
|
|
|
In order to run the script regularly to update
|
|
the certificates add this line to /etc/periodic.conf
|
|
|
|
weekly_letsencrypt_enable="YES"
|
|
|
|
Additionally the following parameters can be added to
|
|
/etc/periodic.conf
|
|
|
|
To run the certification renenewal as a different user
|
|
weekly_letsencrypt_user="_letsencrypt"
|
|
To run a script after the renewal (as root)
|
|
weekly_letsencrypt_deployscript="%%PREFIX%%/etc/%%PORTNAME%%/deploy.sh"
|
|
|