Expiration alerts are based on certificate collections. Before you can work with expiration alerts, you need to have created a certificate collection on which to base the alert (see
When the alerts are run using workflow, there are two
In the Certificate Expiration Alert Settings dialog, select your Certificate Collection in the first dropdown.
In the Timeframe fields, select the warning timeframe by defining a number for either days, weeks, or months for the alert. For example, if you select three weeks, the expiration alerts will be sent automatically three weeks ahead of certificate expiration.
To use workflow to deliver the alerts, leave the Use Workflows toggle enabled. To use the legacy alerting system to deliver the alerts, toggle the Use Workflows to disabled.
Create an Expiration Alert with Use Workflows Enabled
Click Save to save your workflow expiration alert.
For the Use Workflow option, if you are saving an alert that does not have a matching Expiration workflow, you will receive a notification indicating that a workflow needs to be created to match the alert. When you click OK to the notification, you will be redirected to a workflow configuration page with a new workflow open and pre-populated with the Name, Type, and Expiration Alert (key) appropriate to the alert you have saved. Configure the workflow as needed.
Workflow Required for Alert Notice
Workflow Pre-Populated for Expiration Alert
If you toggled the Use Workflows option to disabled, the legacy alert fields will display.
To add substitutable special text to the subject line; place your cursor where you would like the text to appear on the subject line, select the appropriate variable from the Insert special text dropdown, and click Insert. Alternately, type the special text variable enclosed in curly braces (e.g., {cn}).
In the Message box. Enter the body of the email message that will be delivered when the alert is triggered. You can use the Insert special text dropdown below the message window to add substitutable special text to the message. The metadata that appears in the dropdown will depend upon the custom metadata you have defined (see
With this HTML code:
Create an Expiration Alert with Use Workflows Disabled
In the Use handler box. If
Expiration Alerts Recipients
For alerts that use workflow, you can open the associated workflow for the alert using the Configure Workflow option.
You may delete one expiration alert at a time.
You may use the copy operation to create multiple similar alerts—for example, several alerts for the same certificate collection but with different warning timeframes.
After adding your desired Certificate Expiration Alerts, you may configure an alert schedule. This schedule applies both to alerts run with workflow and alerts run with the legacy alerting system.
Expiration Alert Schedule
Once the alerts are configured, you may run a test of all, or selected, alerts to see if they are configured correctly.
In the Expiration Alert Test dialog, select a Start Date and End Date for the test period. This would be the period however many days, weeks or months prior to when the certificate are reaching expiration is configured in your alert. For example, if your alert is configured to notify 1 week before expiration and you wanted to simulate an automated run of the alerts today, you would select a date range of yesterday through today and the results would be certificates expiring 1 week from today.
In the Expiration Alert Test: Select Targets dialog, select one or more certificates for testing. For alerts that do not use workflow, enable the Send Emails option if you would like to deliver email messages as part of the test. Alerts that do use workflow will generate workflow instances for each selected certificate.
In the Expiration Alert Test: Results dialog, you can review the generated expiration alerts to confirm that the substitutable special text is being replaced as expected and the recipients are as expected. Scroll the First, Previous, Next and Last buttons at the bottom of the dialog. The number of alerts generated will display between the navigation buttons.

Expiration Alert Timeframe
By default, a
Expiration Alert Test Results With and Without Workflow
Substitutable Special Text for Expiration Alerts
|
Variable |
|
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 the certificate store(s) where the certificate resides, if any, for certificates found in certificate stores (e.g., 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 |
|
{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 |
|
{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 |
|
{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 |
|
{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 |
|
{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 |
|
{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 |
|
{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 |
|
{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 |
The server location(s) where the certificate resides, if any, for certificates synchronized using SSL synchronization |
|
{san} |
Subject Alternative Name |
Subject alternative name(s) 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 |
|
{upn} |
User Principal Name |
The user principal name (UPN) contained in the subject alternative name (SAN) field of the certificate, if present (e.g., username@keyexample.com) |
|
{metadata: Email-Contact} |
Email-Contact |
Example of a custom metadata field |
|
{principal:field} |
String Value from AD |
Locates the object in Active Directory identified by the UPN in the certificate (if present), and substitutes the contents of the attribute named by field. For example:
This substitutable special text field is partially user defined—you pick the field out of AD to include—and is therefore not available in the Insert special text dropdown; it needs to be typed manually.
|
|
{requester:field} |
String Value from AD |
Locates the object in Active Directory identified by the user or computer account that requested the certificate from the CA, and substitutes the contents of the attribute named by field. For example, for users:
For computers:
This substitutable special text field is partially user defined—you pick the field out of AD to include—and is therefore not available in the Insert special text dropdown; it needs to be typed manually.
|