1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

check-certificates: update CommonName after renewal

This commit is contained in:
Christian Hesse
2019-01-09 14:29:15 +01:00
parent 40931f4f28
commit 1b9a277b47

View File

@ -48,6 +48,7 @@
:local InvalidBefore [ / certificate get $CertNew invalid-before ];
:local InvalidAfter [ / certificate get $CertNew invalid-after ];
:set CommonName [ / certificate get $CertNew common-name ];
:set FingerPrint [ / certificate get $CertNew fingerprint ];
$SendNotification ("Certificate renewed") \