Skip to main content

Windows - Certificates (My) - Local Machine - Audit

Overview

This Script audits all certificates in the local machine's personal certificate store and flags expired or soon-to-expire certificates. It then updates the custom field cPVAL SSL certificate Audit with the SSL certificate details and also sets the custom field cPVAL Expired SSL Certificates Detected to True if any expired or soon-to-expire certificates are found during the audit.

Sample Run

Play Button > Run Automation > Script
SampleRun1 SampleRun2

Dependencies

Parameters

NameExampleAccepted ValuesRequiredDefaultTypeDescription
SSL Cert Expiry Threshold15Numeric ValuesFalse-TextSet the number of days before SSL certificate expiration to detect and report certificates requiring attention.

Note : SSL Cert Expiry Threshold should be similar to Script : SSL Certificate Expiration Monitoring to alert for the certificates that are expired or soon to expire.

Automation Setup/Import

Automation Configuration

Output

  • Activity Details
  • Custom Field

Changelog

2026-07-22

  • Renamed the script from SSL Certificate Audit to Windows - Certificates (My) - Local Machine - Audit since this script pulls all certificates and not just SSL certificates on the machine.

2026-02-13

  • Initial version of the document