Forum Discussion

swapnil1's avatar
swapnil1
Icon for Nimbostratus rankNimbostratus
May 24, 2019

How to list only ACTIVE certificates (not expired) and grep a common name in it?

I tried this command, but it does not allow mw to grep a particular common name

 

 tmsh -c 'cd /; run /sys crypto check-cert verbose enabled' 

 

any idea ?

  • Can you try this unix command. Hope it will work.

    tmsh run /sys crypto check-cert | grep -v expired