使用Microsoft工具MakeCert.exe
(-ss指定存儲輸出證書的主題的證書存儲名稱)的-ss
選項,我在服務器上創建自己的存儲。我能夠刪除我的證書programaticaly,但我無法刪除商店本身。根據錯誤消息,這似乎不被提供者支持。如何刪除證書由makecert添加的存儲
我甚至無法使用MMC管理單元(certmgr.msc)將其刪除。有誰知道如何做到這一點?
PS cert:\LocalMachine> Remove-Item .\SigningStore
Remove-Item : L'exécution du fournisseur s'est arrêtée, car le fournisseur ne prend pas en charge cette opération.
Au niveau de ligne : 1 Caractère : 12
+ Remove-Item <<<< .\SigningStore
+ CategoryInfo : NotImplemented: (:) [Remove-Item], PSNotSupportedException
+ FullyQualifiedErrorId : NotSupported,Microsoft.PowerShell.Commands.RemoveItemCommand
我發現的唯一方法是使用CertUnregisterSystemStore的Win32 API
您寫信給無可奉告[我的回答](http://stackoverflow.com/a/9749076/315935)。問題已經解決了嗎? – Oleg 2012-03-27 05:30:45
對不起,我只是不花時間來測試它。我會做並回答。 – JPBlanc 2012-03-27 18:17:39