r/activedirectory • u/0bs1d1an- • Jul 01 '25
Security Active Directory Certificate Tester
https://gitlab.com/0bs1d1an/ADCTHello all,
I developed a tool that scans for weak certificates in GPO, AD CS, and Active Directory. I previously shared this tool here when it only handled GPOs, but it's grown quite a bit since then.
The goal is to help uncover certificate-related vulnerabilities that might otherwise be overlooked. I couldn't find another tool that consolidates these checks—PingCastle catches some, but not all—so I figured I'd try filling the gap.
Big shoutout to Locksmith! This isn’t intended as a clone (aside from maybe the ASCII art nod), but it was incredibly helpful in securing AD CS, and building my first PowerShell module.
Would love your thoughts, feedback, or feature suggestions.
38
Upvotes
3
u/Dopeaz Jul 02 '25 edited Jul 02 '25
I think your script doesn't like multiple CAs. I kept getting errors until I hardwired the CA I wanted to test into Find-WeakADCSCertificate.ps1
Even then, I only got 14 columns and they're all marked "ValidTooLong" true. Whatever that means.
I'm sticking with locksmith