Quantcast
Channel: Public Key Infrastructure PowerShell module
Viewing all articles
Browse latest Browse all 729

New Post: Certificate recieving ends after 30 minutes with "The handle is invalid"

$
0
0
when querying revoked certificates, you should use 2 queries:
Get-RevokedRequest -Filter "NotAfter -ge $DT","RevokedEffectiveWhen -ge $lastDT","RevokedReason -eq 6" -Property "RawCertificate"
Get-RevokedRequest -Filter "RevokedReason -lt 6","NotAfter -ge $DT","RevokedEffectiveWhen -ge $lastDT","RevokedReason -eq 6" -Property "RawCertificate"
use first query to save revoked certs with "Certificate Hold" reason to a desired folder. The second query dumps all revoked certificates except ones retrieved from previous query and save them to a desired folder.

Viewing all articles
Browse latest Browse all 729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>