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?
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 .
* 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.
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.
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With