check-certificates: be more verbose when attempting to renew

This commit is contained in:
Christian Hesse 2021-03-21 22:22:52 +01:00
parent 5610926d0a
commit f77213c6d0

View file

@ -40,6 +40,7 @@ $WaitFullyConnected;
:if ([ :len $CertRenewUrl ] = 0) do={
$LogPrintExit2 info $0 ("No CertRenewUrl given.") true;
}
$LogPrintExit2 info $0 ("Attempting to renew certificate " . ($CertVal->"name") . ".") false;
:foreach Type in={ ".pem"; ".p12" } do={
:local CertFileName ([ $UrlEncode ($CertVal->"common-name") ] . $Type);