如何从命令行中删除 "IIS server certificates" 中的证书
How to remove Certificate from "IIS server certificates" from command line
我能够将证书添加到 IIS 服务器证书
certutil -p <> -importPFX Test.pfx”
但是我无法从命令行中删除证书
先找到指纹,然后传给certutil.exe
在 PowerShell 中:
$thumbprint = (Get-ChildItem cert:\LocalMachine\MY | WHERE {$_.Subject -match "blah blah" }
& certutil.exe -delstore my $thumbprint
我能够将证书添加到 IIS 服务器证书 certutil -p <> -importPFX Test.pfx” 但是我无法从命令行中删除证书
先找到指纹,然后传给certutil.exe
在 PowerShell 中:
$thumbprint = (Get-ChildItem cert:\LocalMachine\MY | WHERE {$_.Subject -match "blah blah" }
& certutil.exe -delstore my $thumbprint