Skip to main content

NIM

Certificate Expiration Notification Tutorial

Expired certificates can cause a massive disruption in day-to-day services. As such, it is important to know when your certificates are going to expire and to update them in a timely fashion.

To help administrators keep on top of this important task, NIM can send notifications when an installed certificate is nearing expiration. Follow the steps in this tutorial to set up these notifications.

Add a Certificate Maintenance Task

  1. Navigate to Scheduler > Overview.

  2. Click the +Add button to add a new task.

  3. In the Type dropdown, select Certificate Maintenance.

  4. Name the task "Certificate_Expiration_Notification" and click Save.

  5. On the following screen, under the Configuration tab, enable the Expire Notification option.

    cert-expir-notification.png
  6. Under the Schedule tab, enable the scheduled task and configure it to run on your desired schedule (e.g., once daily).

  7. Click Save.

Note

You are free to adjust the number of days before expiration that a notification will be sent. You can also exclude certain certificates from triggering a notification, or override the default notification timeframe for certain certificates.

Create a Notification Template

  1. Navigate to Events > Templates.

  2. Click the +Add button to add a new template.

  3. Name the template "Certificate_Expiration_Template" and click Create.

  4. In the Notification event dropdown, select certificate-maintenance: Certificate_Expiration_Notification.

  5. Provide a valid From and To address, along with a suitable Subject.

  6. In the email body, click the + button and add the event > certificates_to_expire variable.

    cert-expir-notification-template.jpg
  7. Click Save.

Create a Notification Action

  1. Navigate to Events > Actions.

  2. Click the +Add button to add a new action.

  3. In the Event type dropdown, select certificate-maintenance.

  4. In the Event name dropdown, select Certificate_Expiration_Notification.

  5. Click Add.

  6. In the Template dropdown of the new row, select Certificate_Expiration_Template.

    cert-expir-notification-event.jpg
  7. Click Save.