Created
January 10, 2017 08:17
-
-
Save PlagueHO/5690ece2cf245c903c849cb2d679cc8f to your computer and use it in GitHub Desktop.
Verify all certificates in a PFX Certificate Chain are valid and not expired
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach ($Cert in $PFX) { "$($Cert.Subject) is valid: $($Cert.Verify())" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment