Skip to main content

Monitor Certificate Expiration Dates

Ensure that your certificates will not expire soon.

Description

Monitor when your certificates will expire. You should send alerts at certain thresholds prior to certificate expiration dates. For example, you might choose to send alerts 60 days prior to expiration and 30 days prior to expiration.

Instructions

You can use ObjectScript to determine whether certificates have expired, using the X509GetField() method of the %SYSTEM.EncryptionOpens in a new tab class, as follows:

set expDate = %SYSTEM.Encryption.X509GetField(certificateText,'ValidityNotAfter')

By comparing the current date to the value of expDate, you can determine whether to send alerts.

If you prefer, you can use a third-party monitoring tool to automate this task.

FeedbackOpens in a new tab