mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
check-certificates: be more verbose when attempting to renew
This commit is contained in:
@@ -40,6 +40,7 @@ $WaitFullyConnected;
|
|||||||
:if ([ :len $CertRenewUrl ] = 0) do={
|
:if ([ :len $CertRenewUrl ] = 0) do={
|
||||||
$LogPrintExit2 info $0 ("No CertRenewUrl given.") true;
|
$LogPrintExit2 info $0 ("No CertRenewUrl given.") true;
|
||||||
}
|
}
|
||||||
|
$LogPrintExit2 info $0 ("Attempting to renew certificate " . ($CertVal->"name") . ".") false;
|
||||||
|
|
||||||
:foreach Type in={ ".pem"; ".p12" } do={
|
:foreach Type in={ ".pem"; ".p12" } do={
|
||||||
:local CertFileName ([ $UrlEncode ($CertVal->"common-name") ] . $Type);
|
:local CertFileName ([ $UrlEncode ($CertVal->"common-name") ] . $Type);
|
||||||
|
Reference in New Issue
Block a user