mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-13 19:44:28 +02:00
certificate-renew-issued: use single quotes
This commit is contained in:
parent
e1781fb805
commit
8c1543a402
1 changed files with 3 additions and 3 deletions
|
@ -36,13 +36,13 @@
|
||||||
/certificate/export-certificate ($CertVal->"name") type=pkcs12 \
|
/certificate/export-certificate ($CertVal->"name") type=pkcs12 \
|
||||||
file-name=("cert-issued/" . $CertVal->"common-name") \
|
file-name=("cert-issued/" . $CertVal->"common-name") \
|
||||||
export-passphrase=($CertIssuedExportPass->($CertVal->"common-name"));
|
export-passphrase=($CertIssuedExportPass->($CertVal->"common-name"));
|
||||||
$LogPrint info $ScriptName ("Issued a new certificate for \"" . $CertVal->"common-name" . \
|
$LogPrint info $ScriptName ("Issued a new certificate for '" . $CertVal->"common-name" . \
|
||||||
"\", exported to \"cert-issued/" . $CertVal->"common-name" . ".p12\".");
|
"', exported to 'cert-issued/" . $CertVal->"common-name" . ".p12'.");
|
||||||
} else={
|
} else={
|
||||||
$LogPrint warning $ScriptName ("Failed creating directory, not exporting certificate.");
|
$LogPrint warning $ScriptName ("Failed creating directory, not exporting certificate.");
|
||||||
}
|
}
|
||||||
} else={
|
} else={
|
||||||
$LogPrint info $ScriptName ("Issued a new certificate for \"" . $CertVal->"common-name" . "\".");
|
$LogPrint info $ScriptName ("Issued a new certificate for '" . $CertVal->"common-name" . "'.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} on-error={ }
|
} on-error={ }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue