Template Microsoft Active Directory Certificate Services - itmicus/zabbix GitHub Wiki

Template Microsoft Acitve Directory Certificate Services

Discover infra, Check status of service/crl/aia/cdp, get certificates expire date

macros {ADCS_TEMPLATES_TO_CHECK_DAYSTOEXPIRE} - comma separated temapltes names, fo filter

discover root ca

discover certificate

create item prototype certificate name CN = daystoexpire

check service running check status PKI

discover sub ca

discover certificate

create item prototype certificate name CN = daystoexpire

check service running check status PKI check crl, aia

How install

https://github.com/Crypt32/PSPKI
Module Requirements
Windows PowerShell 5.0 or higher
.NET Framework 4.0 or higher

install:
Install-Module -Name PSPKI

if Server work behind proxy:
netsh winhttp import proxy source=ie
and (if you need to be authenticated on that proxy server)
$webclient=New-Object System.Net.WebClient
$creds=Get-Credential
$webclient.Proxy.Credentials=$creds
Install-Module -Name PSPKI