]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 13:40:03 01.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Fri, 1 May 2026 10:40:04 +0000 (13:40 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Fri, 1 May 2026 10:40:04 +0000 (13:40 +0300)
html/AM-GlobalFunc.rsc

index 8aedb838438667a2423f6273de4c4aa5f17594c2..c1b78fb3b5182f0575d8e6a0a6cd988729e22c66 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/381/06efabaa";
+:global CommitId "main/382/15a2331d";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 13:10:03 01.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 13:40:03 01.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 138;
         :log error ($0 . " Required certificate is not available.");
         :return false;
       }
-      /tool/fetch check-certificate=yes-without-crl http-header-field=({ [ $FetchUserAgentStr $0 ] }) \
-        "https://mkcert.org/generate/" http-data=[ :serialize to=json ({ $CommonName }) ] \
-        dst-path=$FileName as-value;
+      :local MkCertString ("/tool/fetch check-certificate=yes-without-crl http-header-field=" . ({ [ $FetchUserAgentStr $0 ] }) . "\"https://mkcert.org/generate/\" http-data=" . [ :serialize to=json ({ $CommonName }) ] . " dst-path=$FileName as-value");
+      :log debug ($0 . " Fetching certificate from mkcert.org with command: " . $MkCertString);
       $WaitForFile $FileName;
       :if ([ /file/get $FileName size ] = 0) do={
         $RmFile $FileName;