Expiration Alerts

Expiration alerts send email notifications to certificate owners, users, and/or administrators when a certificate is nearing or at expiration. Alerts are based on certificate collections and can be customized to include detailed certificate information and instructions for end users (for example, how to enroll for a replacement certificate). Before configuring expiration alerts, you must create a certificate collectionClosed The certificate search function allows you to query the Keyfactor Command database for certificates from any available source based on any criteria of the certificates and save the results as a collection that will be available in other places in the Management Portal (for example expiration alerts and certain reports). to define the scope of the alert (see Certificate Search and Collections).

Tip:  Where to find this in the Management Portal:
Alerts → Expiration
Note:  Expiration alerts support delivering alerts using either the legacy alerting system or the newer workflowClosed A workflow is a series of steps necessary to complete a process. In Keyfactor Command, it refers to the workflow builder, which allows you to automate event-driven tasks such as when a certificate is requested, revoked or found in a certificate store. system. The workflow system offers more options for injecting actions in the process. To configure an alert to use the workflow system for alerting, turn on Use Workflows and create a workflow for the alert (see details below).

When the alerts are run using workflow, there are two Keyfactor Command service jobs that perform this function. The first, running as scheduled for the alerts (see Add or Modify an Expiration Alert), gathers any expiring certificates that meet the alert criteria. The second, running every 10 minutes, takes the collected expiring certificates and generates workflow instances for each.

Refer to the following table for a complete list of the substitutable special text that can be used to customize alert messages.

Table 18: Substitutable Special Text for Expiration Alerts

Variable

Name

Description

{certemail}

Email Address in Certificate

Email address contained in the certificate, if present

{cn}

Common Name

Common name contained in the certificate

{dn}

Distinguished Name

Distinguished name contained in the certificate

{certnotbefore}

Issue Date

Validity date of the certificate

{certnotafter}

Expiration Date

Expiration date of the certificate

{issuerDN}

Issuer DN

Distinguished name of the certificate’s issuer

{locations:certstore}

Certificate Store Locations

The server and path location to one or more certificate stores where the certificate resides, if any, for certificates found in certificate stores. For example:

server1.keyexample.com – /opt/test/mystore.jks

{principal:mail}

Principal’s Email

Email address retrieved from Active Directory of the user whose UPN is contained in the SAN field of the certificate, if present

Note:  This substitutable special text token appears in the dropdown only in environments that use Active Directory as the identity provider.

{principal:givenname}

Principal’s First Name

First name retrieved from Active Directory of the user whose UPN is contained in the SAN field of the certificate, if present

Note:  This substitutable special text token appears in the dropdown only in environments that use Active Directory as the identity provider.

{principal:sn}

Principal’s Last Name

Last name retrieved from Active Directory of the user whose UPN is contained in the SAN field of the certificate, if present

Note:  This substitutable special text token appears in the dropdown only in environments that use Active Directory as the identity provider.

{principal:displayname}

Principal’s Display Name

Display name retrieved from Active Directory of the user whose UPN is contained in the SAN field of the certificate, if present

Note:  This substitutable special text token appears in the dropdown only in environments that use Active Directory as the identity provider.

{requester}

Requester

The user account that requested the certificate from the CA, in the form DOMAIN\username for Active Directory users.

{requester:mail}

Requester’s Email

Email address retrieved from Active Directory of the user account that requested the certificate from the CA, if present

Note:  This substitutable special text token appears in the dropdown only in environments that use Active Directory as the identity provider.

{requester:givenname}

Requester’s First Name

First name retrieved from Active Directory of the user account that requested the certificate from the CA, if present

Note:  This substitutable special text token appears in the dropdown only in environments that use Active Directory as the identity provider.

{requester:sn}

Requester’s Last Name

Last name retrieved from Active Directory of the user account that requested the certificate from the CA, if present

Note:  This substitutable special text token appears in the dropdown only in environments that use Active Directory as the identity provider.

{requester:displayname}

Requester’s Display Name

Display name retrieved from Active Directory of the user account that requested the certificate from the CA, if present

Note:  This substitutable special text token appears in the dropdown only in environments that use Active Directory as the identity provider.

{careqid}

Issuing CA / Request ID

A string containing the Issuing CA name and the certificate’s Request ID from the CA

{serial}

Serial Number

The serial number of the certificate

{locations:ssl}

SSL Locations

One or more server locations where the certificate resides, if any, for certificates synchronized using SSL synchronization

{san}

Subject Alternative Name

One or more Subject alternative names contained in the certificate

{template}

Template Name

Name of the certificate template used to create the certificate

{templateshortname}

Template Short Name

Short name (often the name with no spaces) of the certificate template used to create the certificate

{thumbprint}

Thumbprint

The thumbprint (hash) of the certificate

{metadata: Email-Contact}

Email-Contact

Example of a custom metadata field

Tip:  Click the help icon () next to the Expiration Alerts page title to open the Keyfactor Software & Documentation Portal to this section. You will receive a prompt indicating:

You are being redirected to an external website ‘software.keyfactor.com'. Would you like to proceed?

You can also find Help in the NavigatorClosed The Navigator is the Keyfactor Command left-hand (newer versions) or top (older versions) navigation menu. Certificate collections and reports can be configured to be added to the menu using user-defined Show in Navigator settings.. From here you can choose to open either the Keyfactor Software & Documentation Portal at the home page or the Keyfactor API Endpoint Utility.

Keyfactor provides two sets of documentation: the On-Premises Documentation Suite and the Managed Services Documentation Suite. Which documentation set is accessed is determined by the Application Settings: On-Prem Documentation setting (see Application Settings: Console Tab).