Closed muradakram closed 3 years ago
I would love such a solution too.
Archive them
This is the way the management pack was intended. An expired certificate is expired, no matter how long ago it expired. Expired certificates should be removed from a server. It is part of a clean-up most people forget to do.
I can't seem to find a way to only alert when/if cert expiration date is 30 or 90 days away. And I can't seem to find a way to create an override to disable alerts on certs that have been expired many many years ago.
Here is an example alert, regarding a cert that was expired on (expired on 07/15/2014 23:59:59 UTC).
Date and Time: | 12/9/2019 10:37:19 AM Property Name | Property Value InstanceType | Certificate UserContext | NT AUTHORITY\SYSTEM CertVersion | 3 CertSerial | 4191A15A3978DFCF496566381D4C75C2 CertSignatureAlgo | sha1RSA CertIssuedBy | OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US CertValidFrom | 07/16/2004 00:00:00 CertValidTo | 07/15/2014 23:59:59 CertIssuedTo | CN=VeriSign Class 3 Code Signing 2004 CA, OU=Terms of use at https://www.verisign.com/rpa (c)04, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US CertPublicKey | RSA-PKCS1-KeyEx CertFriendlyName | CertThumbprint | 197A4AEBDB25F0170079BB8C73CB2D655E0018A4 CertSAN | Directory Address:CN=Class3CA2048-1-43 CertIsCertificateAuthority | True CertIsSelfSigned | False CertPrivateKey | False CertDaysStillValid | -1972 CertLifeTimeMessage | has expired on 07/15/2014 23:59:59 UTC CertExpiresSoon | false CertStatus | IsVerified CertStatusIgnoreUntrustedRoot | IsVerified CertTimeStatus | NotTimeValid: A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file. CertVerboseStatus | CertVerboseTimeStatus | --- Certificate Status --- NotTimeValid: A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file. --- Chain Status Overview --- Level 0:OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US IsVerified CAVersion | n/a