mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-21 01:15:42 +02:00
check-certificates: ... and even more
This commit is contained in:
parent
3d40b4419d
commit
512c54bd59
1 changed files with 3 additions and 0 deletions
|
@ -52,6 +52,9 @@
|
|||
|
||||
:foreach Type in={ "pem"; "p12" } do={
|
||||
:local CertFileName ([ $UrlEncode $FetchName ] . "." . $Type);
|
||||
$LogPrint debug $ScriptName ("Trying type '" . $Type . "' for '" . $CertName . \
|
||||
"' (file '" . $CertFileName . "')...");
|
||||
|
||||
:do {
|
||||
/tool/fetch check-certificate=yes-without-crl http-header-field=({ [ $FetchUserAgentStr $ScriptName ] }) \
|
||||
($CertRenewUrl . $CertFileName) dst-path=$CertFileName as-value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue