Where can I find makecert.exe? Visual Studio Ultim

2019-01-22 11:00发布

问题:

Attempting to use a makecert UI tool to make it easier to generate a self-signed code certificates I'm trying to find the DIR location of makecert.exe

I followed this previous answer and all the command line switches worked without error. - However when attempting to use the UI tool I received the error:

So I assumed that I would need to place the tool in the same directory as the makecert.exe and pvk2pfx.exe

Here are the places I've looked:

  • C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
  • C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64
  • C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin (empty)
  • C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools
  • C:\Program Files (x86)\Microsoft Visual Studio 11.0\SDK\v3.5\Bin
  • C:\Program Files\Microsoft Visual Studio 11.0 (no relevant folders)

回答1:

Found it: C:\Program Files (x86)\Windows Kits\8.0\bin\x64

or for Visual Studio 2013: C:\Program Files (x86)\Windows Kits\8.1\bin\x64



回答2:

Makecert has been deprecated, you can find a powershell script on TechNet.

https://gallery.technet.microsoft.com/scriptcenter/Self-signed-certificate-5920a7c6



回答3:

Can't find it on my 2012 or 2013 versions, but 2008 has it under

\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SDKTools

\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin

\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin

Guessing it was removed?



回答4:

For VS 2017 , Windows 10 found it in the following locations:

C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x86
C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64