Forum Discussion
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
- Samir_Jha_52506
Noctilucent
Go with below link.. hope it wll help. https://devcentral.f5.com/s/articles/ssl-certificate-report-1
 
- Mohammed_M_Irfa
Nimbostratus
Hi Rock,
Thanks for the link.
i can find the script and created tcl file but not able to find the output.
Can you help in how to view output.
Path: /var/log/ltm --> don't find any out on this path.
- Kevin_Stewart
Employee
All puts commands should dump to /var/log/ltm.
- jaikumar_f5
Noctilucent
Try this Mohammed,
Active:In Sync] ~ > /var/tmp/cert-output.txt Active:In Sync] ~ tmsh run cli script certificatereport.tcl > /var/tmp/cert-output.txt
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com