Dot-Net

沒有makecert的Windows中的自簽名證書?

  • December 9, 2019

我們有一個收縮包裝類型的 Windows 伺服器應用程序,我們需要在伺服器上創建一個自簽名證書以供某些 WCF Web 服務使用。根據我們在網路上的搜尋,Microsoft PlatformSDK 中的 makecert 實用程序似乎無法與我們的應用程序一起分發,因此我們正在尋找替代方案。

有誰知道如何使用 OpenSSL 創建證書並將其放入 Windows LocalMachine 證書儲存區?或者,是否可以直接將證書插入 .NET 應用程序的儲存中,我們是否應該只使用 openssl 創建證書文件?任何幫助/建議將不勝感激。

$$ Unfortunately, I can’t comment on anything yet, so I’ll post this as an answer. $$ 我看到這篇文章有點老了,但我在一條類似的船上,我在 Visual Studio 2008 redist.txt 文件中找到了這個:

Windows SDK Files

Subject to the license terms for the software, the following files may be distributed unmodified:

MageUI.exe
Mage.exe
Makecert.exe

不確定是否發生了變化(如果我的解釋是正確的),但看起來 makecert.exe 作為 Windows SDK 的一部分包含在內,而後者又作為 VS2008 安裝的一部分包含在實際上可以重新分發。

引用自:https://stackoverflow.com/questions/187588