Forum Discussion

Mohammed_M_Irfa's avatar
Mohammed_M_Irfa
Icon for Nimbostratus rankNimbostratus
Nov 06, 2018

SSL Certificate Expire alert within 7 day

Hi Folk,

I looking for the list of SSL certificates which are going to expire in next 7 days.

To get one auto generated list of only those SSL certificates which are going to expire in next 7 days.

Below commands give me the list of all certificate.

--> The expiration status of the SSL certificates in the /Common partition

         tmsh run /sys crypto check-cert

--> If filter or grep i will get the SSL certificate which is going to expire within 30days.

          tmsh run sys crypto check-cert | grep 'will expire'

But i need within 7 days or few day before.

Thanks & Regards

Mohammed

4 Replies