Reputation: 1263
I am able to add certificates to IIS server certificates certutil -p <> -importPFX Test.pfx" But i am unable to remove the certificate froom the command line
Upvotes: 1
Views: 2587
Reputation: 11222
First find the thumbprint and then pass it to certutil.exe
In PowerShell:
$thumbprint = (Get-ChildItem cert:\LocalMachine\MY | WHERE {$_.Subject -match "blah blah" }
& certutil.exe -delstore my $thumbprint
Upvotes: 1