doc/check-certificates: initial certificate import

This commit is contained in:
Christian Hesse 2024-01-24 17:22:13 +01:00
parent 7baf69e67c
commit 7db94b5f3f

View file

@ -70,6 +70,16 @@ startup is perfectly valid:
/system/scheduler/add name=check-certificates@startup on-event="/system/script/run check-certificates;" start-time=startup;
### Initial import
Given you have a certificate on you server, you can use `check-certificates`
for the initial import. Just create a *dummy* certificate with short lifetime
that matches criteria to be renewed:
/certificate/add name=example.com common-name=example.com days-valid=1;
/certificate/sign example.com;
/system/script/run check-certificates;
See also
--------