MichellePhipps
Aug 17, 2020Nimbostratus
tmsh comand to list only certs by issuer
I'm trying to get a list of all self signed certificate or by issuer installed on all partitions that will expire in 30 days
These are the other command that I use:
tmsh list sys file ssl-cert all-properties > /shared/SSLreports/tmshssl.txt
tmsh run /sys crypto check-cert
tmsh list sys file ssl-cert expiration-string
Hello Michelle.
Expiration-date is a timestamp not a date.
# date -d @1638964800 Wed Dec 8 13:00:00 CET 2021
You can use 'expiration-string' instead.
# tmsh list sys file ssl-cert expiration-string
Please, don't forget to mark the answer as the best to help other people to find it.
Regards,
Dario.