Search code examples
cmdmakecert

'makecert' is not recognized as an internal or external command in command prompt


For creating certificate run this command:

makecert -r -pe -n "CN=effectLabs Server" -b 01/01/2011 -e 01/01/2020 -sky exchange C:\myCerts\ELServer.cer -sv C:\myCerts\ELServer.pvk

Following error occurred in command prompt:

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


Solution

  • You need to use the Visual Studio command prompt to use the makecert utility on the command line.