因此,Win8.1和2012 R2包含一个整洁的新cmdlet来安装证书:
Import-Certificate [-FilePath] <String> [-CertStoreLocation <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
不幸的是我发现它不安装CRLs-booo。 这很奇怪,特别是因为等效的certutil.exe命令可以不加区分地执行:
certutil -addstore -f Root <whatev.crt | whatev.crl>
我无法find“Import-CertificateRevocationList”。 看起来像一个疏忽,这就是为什么我要确认实际上没有简单的本地cmdlet(不是多行脚本或Quest等第三方cmdlet)。
真的没有这个cmdlet吗?
还没。 继续使用certutil.exe。