Finds expired CRLs and certificates in your Microsoft PKI before Wi-Fi, VPN or RDP go down.

A single PowerShell script checks your Active Directory Certificate Services in a minute or two and gives you a traffic-light report with concrete fixes. Read-only, nothing to install, no data leaves your network.

ADCS Health Check · free · Version 0.2.1 · 95 KB · PowerShell 5.1 / 7 · SHA256

Excerpt of the sample report: overall status critical, counters for critical findings, warnings, OK and notes, and tables with findings and recommendations

ADCS doesn't warn you. It just breaks.

Active Directory Certificate Services has no built-in expiry warning. When a CA's revocation list expires, clients suddenly reject every certificate that CA ever issued – usually months after anyone last touched the PKI, and right when nobody remembers where the offline root is.

  • 802.1X Wi-Fi via NPS/RADIUSnobody gets on the network
  • VPN and Always On VPNconnections are refused
  • LDAPS, RD Gateway and IIScertificate errors everywhere
  • Smart cards and Windows Hello for Businesssign-in fails

What it checks

The most common causes of Microsoft PKI outages in a single run.

  • Certification authorities

    Enterprise CAs from Active Directory and whether the CA service responds to certutil -ping.

  • CA certificates

    Expiry (warning below 365, critical below 90 days), RSA key length, SHA-1/MD5 signatures, expired leftovers in AD, chain validation including revocation status.

  • Revocation lists (CRL)

    Base and delta CRLs from AD and via HTTP: expiry, overdue publishing, offline root CRL, stale copies, missing LDAP objects, orphaned CRLs after moving a CA.

  • CDP and AIA

    Availability of every HTTP path in CA and issued certificates, plus a hint for the IIS issue with "+" in delta CRL names.

  • NTAuth

    Is the current CA certificate in the NTAuth store? If not, smart card logon and certificate-based 802.1X will fail.

  • Issued certificates

    Certificates in the CA database that expire soon and have not been renewed yet – renewals are detected.

  • Local store

    Expiring certificates in the computer store of the machine running the check.

What the report looks like

Overall traffic-light status, findings grouped by area and a concrete recommendation with the right command for every problem. The sample report shows a made-up environment (contoso.local).

Open the sample report

Built for admins who don't run scripts blindly

Read-only
The check changes nothing in AD, on the CA or on any server. It reads objects and fetches your CDP and AIA URLs.
No data leaves your network
No telemetry, no phoning home. The report stays on your machine.
Nothing to install
A single .ps1 file, no modules, no agent. Runs on Windows PowerShell 5.1 and PowerShell 7.
Readable source
Plain PowerShell, no obfuscation. Read what it does before you run it.
Checksum
The SHA256 hash is on the download page. Compare it with Get-FileHash.
Signature
An Authenticode signature is on its way.

Three steps to your report

  1. Download

    On a domain-joined server, ideally as CA administrator or right on the CA. Use your browser or PowerShell:

    Invoke-WebRequest https://certmon.de/download/ADCS-HealthCheck.ps1 -OutFile ADCS-HealthCheck.ps1
  2. Verify and unblock

    Windows marks files from the internet as blocked. Compare the checksum, then unblock the file:

    Get-FileHash .\ADCS-HealthCheck.ps1 -Algorithm SHA256
    Unblock-File .\ADCS-HealthCheck.ps1
  3. Run

    After a minute or two the report opens in your browser. For RMM tools there are -Json and -NoOpen.

    powershell -ExecutionPolicy Bypass -File .\ADCS-HealthCheck.ps1

Version 0.2.1 · 95 KB · PowerShell 5.1 / 7 · SHA256

Guides for Windows admins

Step-by-step guides for the most common certificate problems on Windows servers.

All guides →

FAQ

What is the ADCS Health Check?

A free PowerShell script that checks a Microsoft PKI (Active Directory Certificate Services) in one to two minutes: CA certificates, CRLs, CDP/AIA, NTAuth and issued certificates that are about to expire. It changes nothing, sends no data anywhere and produces an HTML report with a traffic-light status and concrete recommendations.

What happens when a CA’s CRL expires?

Clients can no longer check whether certificates from that CA have been revoked, so they reject them. Typically 802.1X Wi-Fi, VPN, smart card logon and LDAPS all fail at once. The fix is to publish a new CRL (certutil -crl) and, for an offline root, copy it to AD and the web server – step by step in the guide “Expired CRL”.

What permissions does the check need?

A regular domain account covers almost everything: any authenticated user can read CA certificates, CRLs, CDP/AIA and NTAuth from AD. Only the expiring issued certificates require read access to the CA database – CA administrators and domain admins have that. Without it, the report shows a note instead of an error.

What are the requirements?

Windows PowerShell 5.1 (built into Windows Server 2016 and later) or PowerShell 7 on Windows, on a member of a domain with an enterprise CA. No modules, no RSAT, no internet access – just access to your own CDP and AIA URLs.

Can I run it from my RMM or monitoring tool?

Yes. Exit code 0 means all OK, 1 warnings, 2 critical findings, 3 error. With -Json -NoOpen you also get a JSON file with stable finding ids that you can evaluate regardless of the report language.

What happens to my data?

Nothing – the check does not send any data, neither to us nor to anyone else. The report contains the names of your CAs, servers and certificates and only exists locally. Share it only if you want to.

English or German?

Report and console follow the Windows display language. Use -Language en or -Language de to choose explicitly.

Why is it free?

Because a single look already prevents a lot of outages. And because we hope you'll give certmon a try afterwards: it runs the same checks continuously, on all your servers, and alerts you in time.

What is the difference between the ADCS Health Check and certmon?

The Health Check is a free snapshot: you run it, it checks once and writes a report. certmon is a Windows service that runs inside your network, performs the same checks continuously, also monitors the certificates on your servers and devices, and alerts you by email or Microsoft Teams – one-time license, no cloud.

certmon: always on, not just once

The health check is a snapshot. certmon watches your PKI and every certificate on your network around the clock and speaks up before anything expires.

  • Every check of the health check, continuously and automatically
  • Certificates on all your servers: IIS, RDS, Exchange, LDAPS, NPS
  • Alerts by email or Microsoft Teams, with the lead time you choose
  • One-time license, no subscription
  • Runs entirely inside your network, no cloud

Planned from €249, one-time

Final pricing will be announced at launch. As a German small business (Section 19 UStG) we do not charge VAT.

Join the waitlist

You are …
Which devices with certificates do you run? (optional, choose any)

You'll get an email to confirm your address (double opt-in). No newsletter, no sharing.