Tuesday, March 12, 2013

MakeCert.exe not found

You can find this file in Windows SDK

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


Use the makecert and pvk2pfx tools that ships with Visual Studio (e.g. C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin\makecert.exe) to create certificate files and private key files.

Makecert.exe –r –pe –n “cn=www.idp.com” –sv idp.pvk idp.cer

You then need to convert the PVK file to a PFX file so it can be loaded with the .NET framework classes.

Pvk2pfx.exe –pvk idp.pvk –spc idp.cer –pfx idp.pfx –po <password>

Refer to the Microsoft help for additional options.

Generate .pem from pfx : http://help.globalscape.com/help/eft6-2/mergedprojects/eft/exporting_a_certificate_from_pfx_to_pem.htm

2 comments:

  1. I'm getting Makecert.exe command not found error

    ReplyDelete
    Replies
    1. Please try to execute the command prompt as Administrator "Run As Administrator"

      Delete

Please include your thoughts/suggestion to make it as a better blog. If you find it useful, Please update with your valuable comments, so that others can use it.