Configuring the warning for an imminent certificate expiry
Whenever the certificate of an SNS firewall is close to expiry, the health status of the firewall switches to Not critical in the firewall monitoring window.
Once the certificate has expired, the firewall's health status will become Critical .
The firewall will start displaying a Not critical status by default 30 days before the expiry of the certificate.
The environment variable SMC_SNS_CERTS_PROBE_EXPIRATION_INT
allows this period to be configured. The lowest value allowed is one day.
To change the default 30-day period:
- Log in to the SMC server via the console of your hypervisor or in SSH.
- Change the value of the environment variable
SMC_SNS_CERTS_PROBE_EXPIRATION_INT
. For example:SMC_SNS_CERTS_PROBE_EXPIRATION_INT= 20
- Restart the server with the command
nrestart fwadmin-server
- Deploy the configuration again on the firewalls.
The imminent expiry of certificates is also indicated in the Configuration > Certificates panel.
If you have changed the warning period, but have not yet redeployed the configuration on the firewalls, the status of certificates indicated in the Certificates panel (information provided by the SMC server) may not immediately match the firewall health status indicated in the monitoring panel (information provided by firewalls).
For further information regarding the Certificates panel, refer to the section Managing certificates and certification authorities.