I'm trying to write a script which validates certificate chain in PowerShell (that all certificates in the chain are not expired) and finds the certificate which is closest to expiration. I'm using following script to find issuer certificate:
Get-ChildItem -Recurse -Path Cert: | Where-Object {...
Fixes an issue in which you receive an "ERROR_IPSEC_IKE_CERT_CHAIN_POLICY_MISMATCH" error message when you try to start an IPsec connection between two computers. This issue occurs in Windows 7 or in Windows Server 2008 R2
More...