mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 13:04:30 +02:00
check-certificates: drop dot from type...
... and add it in file name.
This commit is contained in:
parent
f6c2225f68
commit
a6d4e7e82c
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@
|
||||||
|
|
||||||
:local Return false;
|
:local Return false;
|
||||||
|
|
||||||
:foreach Type in={ ".pem"; ".p12" } do={
|
:foreach Type in={ "pem"; "p12" } do={
|
||||||
:local CertFileName ([ $UrlEncode $FetchName ] . $Type);
|
:local CertFileName ([ $UrlEncode $FetchName ] . "." . $Type);
|
||||||
:do {
|
:do {
|
||||||
/tool/fetch check-certificate=yes-without-crl http-header-field=({ [ $FetchUserAgentStr $ScriptName ] }) \
|
/tool/fetch check-certificate=yes-without-crl http-header-field=({ [ $FetchUserAgentStr $ScriptName ] }) \
|
||||||
($CertRenewUrl . $CertFileName) dst-path=$CertFileName as-value;
|
($CertRenewUrl . $CertFileName) dst-path=$CertFileName as-value;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue