[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1671
  • Last Modified:

default cert expires in 2 days on CheckPoint NG AI R 55 Firewall ! PLEASE Help !

Hi,
our firewall's ( Checkpoint NG AI R 55 ) default cert created while installing the firewall is going to expire in 2 days
the firewall is supporting 50 user network and 2 vpn tunnels ( site to site )
once the cert expires does the firewall stops working ?
does the vpn tunnels break ?
how do we recreate the cert with hurting the firewall ? we just have only one firewall and now this situation is scary !
Please help !!!!
0
dejones44
Asked:
dejones44
  • 7
  • 3
1 Solution
 
dejones44Author Commented:
Please help !!
0
 
grimkinCommented:
If the certificate expires then your VPNs will certainly break but your firewalls should still pass normal traffic.

The following should renew your certificate without having to re-establish SIC:

cpca_client revoke_cert -n "CN=cp_mgmt"
cpca_client create_cert -n "CN=cp_mgmt" -f /opt/CPshrd-R55/conf/sic_cert.p12
cpstop
cpstart

(It's always good to back everything up before carrying out anything critical!)
0
 
dejones44Author Commented:
Thanks
does the same command hold good for a windows 2003 server ? sorry i am newbie.
also can you please let me know how do i backup the firewall before I run these commands.
Thanks again
0
Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

 
dejones44Author Commented:
sorry
does the site to site vpn will also break ?
0
 
dejones44Author Commented:
sorry once again
is it okay to do this from the gui tool ?
if i go to firewall object property sheet and then click on vpn , it shows me the vpn domains as well as the current certificate .
i have options to add , edit , remove the certificate .
Please advise !
0
 
grimkinCommented:
Ok:

The same commands will work for a windows server but you need to modify the path to your p12 certificate file, should be something like the following (but please check by doing a search for sic_cert.p12):

cpca_client revoke_cert -n "CN=cp_mgmt"
cpca_client create_cert -n "CN=cp_mgmt" -f C:\Program Files\CheckPoint\CPShared\R55\conf\sic_cert.p12
cpstop
cpstart

The options in your GUI tool are to do with the VPN cert but I'm assuming the one which is expiring is your internal CA certificate upon which your VPN cert is based.  The commands above should renew your current certificate meaning that there will be no disruption to the VPNs.
0
 
dejones44Author Commented:
Apologies again for being a pain on this. sorry i am newbie.

InternalCA.p12 is located at F:\FW1\R55\conf
In the vpn properties sheet I see the following details. this one is expiring and have to run this command now.
Under certificate lists
Nickname : defaultCert
Certificate Authority : Internal_ca
Status   :  Signed  
Location : management_server
the internal_CA is installed on the management server (management server is also installed on the same box)
looks like I need to renew this cert but please advise.
the following command i plan to run please correct .thanks
cpca_client revoke_cert -n "CN=cp_mgmt"
cpca_client create_cert -n "CN=cp_mgmt" -f F:\FW\\R55\conf\internal_CA.p12
cpstop
cpstart
Any tips on backup of firewall before I run the commands ?
PS : sic_cert.p12 is located at C:\Program Files\CheckPoint\CPShared\R55\conf
0
 
dejones44Author Commented:
Please help
0
 
grimkinCommented:
cpca_client revoke_cert -n "CN=cp_mgmt"
cpca_client create_cert -n "CN=cp_mgmt" -f C:\Program Files\CheckPoint\CPShared\R55\conf\sic_cert.p12
cpstop
cpstart

To backup your management server you can back up your windows box. To backup just the Checkpoint config, you can search for the upgrade_export.exe, get a command prompt in that directory and issue the command: "upgrade_export my_export" which will create the file my_export.tgz - move this off the server to a safe place.
0
 
dejones44Author Commented:
I did the follow steps

1. removed the vpn domains from the vpn community in the vpn property page.

2. removed the defaultCert from the certificates list.

3. Added the new defaultCert and clicked on the generate button .

it created the new cert which is good for next 5 years.


after that i pinged the servers in the site to site tunnel and got a reply.

from home network also the users were able to connect to the vpn server.

i still  not restarted the services or the server.

i thank you for the help offered and in future if sic_cert needs to be reinitialized i follow the steps from you
0

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

  • 7
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now