mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
check-certificates: update CommonName after renewal
This commit is contained in:
parent
40931f4f28
commit
1b9a277b47
1 changed files with 1 additions and 0 deletions
|
@ -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") \
|
||||
|
|
Loading…
Reference in a new issue