Macedert missing in Windows 10 and Visual Studio 2015?

I did a clean install of windows 10 and visual studio 2015 and did not find makecert.exe anywhere. Do I need to install other software to return this program?

I looked through all the folders under "C: \ Program Files (x86) \ Microsoft SDK \ Windows \\" and did not see them in any.

I also opened the "Developer Command Line for VS2015" and tried to run "makecert", but it was not found.

+43
windows-10 visual-studio-2015 makecert
Aug 02 '15 at 12:57
source share
4 answers

Install the Windows SDK for Windows 10 . If you still cannot find it, try the Windows driver suite .

enter image description here

+38
Aug 02 '15 at 16:59
source share

As ShaneH's answer to this question makecert.exe deprecated, and we must use the commandhell ​​commandlet New-SelfSignedCertificate.

New-SelfSignedCertificate -Subject "CN = Test code confirmation" -Type CodeSigningCert -KeySpec "Signature" -KeyUsage "DigitalSignature" -friendly name "Test code signing" -NotAfter (get-date) .AddYears (5)




For older versions of PS, you can get this script from TechNet: https://gallery.technet.microsoft.com/scriptcenter/Self-signed-certificate-5920a7c6

To make my answer complete, the following is a brief description of how to use the TechNet script:

  • Follow the link above and download the New-SelfSignedCertificateEx.zip file
  • Unzip it somewhere
  • Launch the PowerShell console and browse to the location with the new file
  • Run the command. \ New-SelfSignedCertificateEx to call the function. Remember to add the necessary parameters.

. \ New-SelfsignedCertificateEx -Subject "CN = Signing the test code" -EKU "Signing the code" -KeySpec "Signing" -KeyUsage "DigitalSignature" -FriendlyName "Signing the test code" -NotAfter [datetime] :: now.AddYears (5)

Two additional notes if you have any problems with this tool.

  • If PowerShell groans that scripts are disabled, start the console as an administrator and call this: Set-ExecutionPolicy unrestricted
  • If PowerShell still refuses to start it, make sure to add .\ (Slash) before the file name, if necessary.
+21
Jun 06 '16 at 7:59
source share

After downloading the Windows SDK for Windows, to install "makecert.exe", you only need to check the "Windows Software Development Kit."

enter image description here

+4
Aug 29 '16 at 9:30
source share

A quick search of my C: found that makecert.exe seems to be distributed with Fiddler 2 in the folder C:\Program Files (x86)\Fiddler2 . This is much smaller than the full version of the Windows SDK.

For the record, I have version 4.6.20171.26113 Fiddler 2.

+1
Sep 21 '17 at 8:34 on
source share



All Articles