mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-13 19:44:28 +02:00
doc/check-certificates: initial certificate import
This commit is contained in:
parent
7baf69e67c
commit
7db94b5f3f
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
/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
|
See also
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue