Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does makecert.exe store the digital certificate

I created a self-signed certificate and a client certificate using this tutorial and the makecert.exe tool:

http://msdn.microsoft.com/en-us/library/ff647171.aspx

However, when I go to MMC and try to import the certificate in the Trusted Root Certificate Authorities, I have no clue where to locate the .cer file.

Where does the makecert.exe tool save the certificates it creates?

like image 807
Matthew Avatar asked Apr 24 '13 09:04

Matthew


People also ask

Where is Makecert located?

The files makecert.exe and pvk2pfx are part of the Windows 10 SDK and - when installed - can usually be found in: C:\Program Files (x86)\Windows Kits\10\bin .

How do I use Makecert exe to create a self-signed test certificate?

* Retrieve the available options for makecert: REM Retrieve the basic options of makecert makecert.exe -? REM Retrieve the extended options of makecert makecert.exe -! To create a self-signed certificate file (and PVK private key file) that can be used on different systems, you can run the first set of parameters.


2 Answers

If you did what I did and just left the command prompt in c:\windows\system32 (using the x64 Cross Tools Command Prompt) you will be surprised that the file is not in c:\windows\system32 (as evidenced by doing a simple dir *.cer).

Fortunately it will be found sitting in c:\windows\SysWOW64.

like image 119
axeman Avatar answered Oct 01 '22 23:10

axeman


Step 1, point 1

Open a Visual Studio command prompt and browse to the location where you want to save the certificate files

Is it therefore not the location you went to, upon opening the Visual Studio command prompt?

like image 30
Coops Avatar answered Oct 01 '22 23:10

Coops