aboutsummaryrefslogtreecommitdiffstats
path: root/doc/check-certificates.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-01-24 17:22:13 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-24 17:24:23 +0100
commit7db94b5f3fd3365991ccdae2c7edde099dac95b2 (patch)
tree3b155b622398f23b9cb45a726b4d2fb03442c6d5 /doc/check-certificates.md
parent7baf69e67cf66d76cc37c3afec6219f86e2c2279 (diff)
doc/check-certificates: initial certificate import
Diffstat (limited to 'doc/check-certificates.md')
-rw-r--r--doc/check-certificates.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/check-certificates.md b/doc/check-certificates.md
index e9a533f..186702c 100644
--- a/doc/check-certificates.md
+++ b/doc/check-certificates.md
@@ -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
--------