mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-22 17:53:31 +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 InvalidBefore [ / certificate get $CertNew invalid-before ];
|
||||||
:local InvalidAfter [ / certificate get $CertNew invalid-after ];
|
:local InvalidAfter [ / certificate get $CertNew invalid-after ];
|
||||||
|
:set CommonName [ / certificate get $CertNew common-name ];
|
||||||
:set FingerPrint [ / certificate get $CertNew fingerprint ];
|
:set FingerPrint [ / certificate get $CertNew fingerprint ];
|
||||||
|
|
||||||
$SendNotification ("Certificate renewed") \
|
$SendNotification ("Certificate renewed") \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue