Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

Valid Certificates Overview - Oneliner

SmartEvent Type: Monitoring,

C_H
Explorer
Explorer

Since I often run into problems with expired IKE or SIC certificates I have written an oneliner that shows the current date and time, the expiration date of the internal Check Point CA and all valid IKE and SIC certificates with expiration date.

The oneliner must be run on the management in expert mode.

oneliner_certificate_overview_1.png

 

 


   if [[ `$CPDIR/bin/cpprod_util FwIsFirewallMgmt 2>/dev/null` != *'1'* ]] || [[ `$CPDIR/bin/cpprod_util FwIsStandAlone 2>/dev/null` == *'1'* ]];then echo;printf '
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




(3)
4 Replies

the_rock
Legend
Legend

Wow...fantastic 🙌 🙌 👍

Just ran it in my R81.20 lab and below is output...perfect.

Andy

Current Date and Time
----------------------------------------------------------------------
04 May 2023 09:37:13 -04:00 EDT


Check Point Internal Certificate Authority (ICA) Experation Date
----------------------------------------------------------------------
18 Jan 2038 22:14:07 -05:00 EST


Current Valid IKE & SIC Certificates signed by ICA
---------------------------------------

...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Danny
Champion Champion
Champion
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

PhoneBoy
Admin
Admin

@_Val_ potential Toolbox candidate here

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

CPArk
Participant

To all here, how hard would it be to automate sending the output of this script to a specified email address on a regular basis?

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free