pravin
pravin

Reputation: 247

makecert.exe missing in windows 7, how to get it and use it

I am using Windows 7. I don't have the makecert.exe, which I came to know when I tried to run commands to generate certificates like

makecert -sk XYZ -n "CN=XYZ Company" testXYZ.cer

I get error :

'makecert' is not recognised as an internal or external command, operable program or batch file.

Pls suggest how to resolve this issue. Do i need to install the Windows SDK again.

Regards, Pravin.

Upvotes: 25

Views: 90513

Answers (10)

Christopher
Christopher

Reputation: 2306

My copy (with Visual Studio 2017 installed) was here: "C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64\makecert.exe"

Upvotes: 1

David Levy
David Levy

Reputation: 1

Windows 10 after installing Windows SDKs:

If you have ARM microprocessor: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\arm64

Intel microprocessor: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64

Add that folder to your PATH environment variable

Upvotes: 0

Raj Rao
Raj Rao

Reputation: 9138

MakeCert.exe is now deprecated. You should use PowerShell's New-SelfSignedCertificate cmdlet to create a selfsigned certificate.

Upvotes: 4

Pete Davis
Pete Davis

Reputation: 1137

makecert.exe comes with both Visual Studio and the Windows SDK. Therefore just use either the Visual Studio Command Prompt or the Windows SDK command prompt and it will work straight out of the box as it will be included in the command prompt path.

makecert is included in the ".NET Development > Tools" bucket.

This selected bucket includes the makecert utility (at least in SDK v7.1). This selected bucket includes the makecert utility (SDK v7.1).

Upvotes: 38

Pyus
Pyus

Reputation: 43

Ran into the same problem awhile back and thought I would share the link I found to download and install this tool.

http://go.microsoft.com/fwlink/p/?linkid=84091

Please let me know if this works if you do get around to it, I realize this post is a little old.

Upvotes: 0

aditya potdar
aditya potdar

Reputation: 357

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

OR

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

Upvotes: 13

Ajibola
Ajibola

Reputation: 1238

You can find a version of makecert here : http://www.inventec.ch/chdh/notes/makecert_5_131_3790_0.zip. Also instructions on how to use it here : http://www.inventec.ch/chdh/notes/14.htm

Upvotes: 11

Catalin S
Catalin S

Reputation: 130

You can find it on microsoft sdks directory:

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\makecert.exe

Upvotes: 2

Bravo
Bravo

Reputation: 3451

I know its too late to reply, however it might help other looking out for this executable.

if you have installed VS 2005, you will find it under

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

if you have installed VS 2008, you will find it under

C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools

go to this location on command prompt and then run you "makecert" command with arguments.

Upvotes: 4

Ocaso Protal
Ocaso Protal

Reputation: 20257

Have you read this link: MakeCert? It sends you to Microsoft Windows Software Development Kit from where you can download the SDK including makecert

Upvotes: 9

Related Questions