SSL Certificate Report
Problem this snippet solves: This script creates a text report detailing all invalid or soon to expire certificates in /config/ssl/ssl.crt/ using openssl to write out the certificate attributes. Co...
Published Mar 10, 2015
Version 1.0CodeCentral_194
Cirrus
Joined May 05, 2019
CodeCentral_194
Cirrus
Joined May 05, 2019
Mohammed_M_Irfa
Nov 09, 2018Nimbostratus
Hi Jaikumar,
I got the results!, I have create new expire SSL cert for next 6days, 7days, 8days and 10days. and by default their 3 more ssl cert.
Thanks for support and responding!!!
root@(BIG-IP_A_v12)(cfg-sync Standalone)(Active)(/Common)(tmos) run cli script certificatereport.tcl
---------------------------------------------------------------------
Certificate report for BIG-IP BIG-IP_A_v12.com
Report Date: Fri Nov 9 23:51:57 IST 2018
---------------------------------------------------------------------
File: /config/filestore/files_d/Common_d/certificate_d/:Common:Test_10days.com.crt_39448_1
CN: Test_10days.com certificate
Error: is not valid because it expired on Nov 19 09:52:09 2018 GMT.
Will Expired in: 9 days.
---------------------------------------------------------------------
File: /config/filestore/files_d/Common_d/certificate_d/:Common:Test_8days.com.crt_39442_1
CN: Test_8days.com certificate
Error: is not valid because it expired on Nov 17 09:51:48 2018 GMT.
Will Expired in: 7 days.
---------------------------------------------------------------------
File: /config/filestore/files_d/Common_d/certificate_d/:Common:Test_6days.com.crt_39416_1
CN: Test_6days.com certificate
Error: is not valid because it expired on Nov 15 09:50:07 2018 GMT.
Will Expired in: 5 days.
---------------------------------------------------------------------
File: /config/filestore/files_d/Common_d/certificate_d/:Common:Test_7days.com.crt_39436_1
CN: Test_7days.com certificate
Error: is not valid because it expired on Nov 16 09:51:28 2018 GMT.
Will Expired in: 6 days.
---------------------------------------------------------------------
7 Certificates Found
0 Certificate Errors Found
4 Certificate Warnings Found
One question still remains same, as i was looking for SSL Cert Expire within 7days or less than.
As you can see in output, i am getting all the SSL Cert Expire i.e. 6, 7, 8, 10 Days, respectively.
My expecting result is 6 and 7 days SSL Cert should be appear.