mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-06-23 18:28:45 +02: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…
Add table
Add a link
Reference in a new issue