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

后端 未结 5 2206
梦谈多话
梦谈多话 2021-02-19 03:38

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:         


        
相关标签:
5条回答
  • 2021-02-19 03:48

    You have to use Visual Studio command prompt.

    You can find it in:

    In Windows 8 On the Start screen, press the Windows logo key Windows logo + Z. (To open the Start screen, press the Windows logo key Windows logo on your keyboard.) Choose the Apps view icon at the bottom of the screen and then press V. The list will include all installed Visual Studio command prompts. Choose the Developer Command Prompt (or the command prompt you want to use).

    In Windows 7 Choose Start, expand All Programs, and then expand Microsoft Visual Studio. Depending on the version of Visual Studio you have installed, choose Visual Studio Tools, Visual Studio Command Prompt, or the command prompt you want to use.

    0 讨论(0)
  • 2021-02-19 03:53

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

    0 讨论(0)
  • 2021-02-19 04:04

    for anyone still still getting this error even after installing the mentioned above SDK, make sure to include the path to the makecert file in the system env path, which should be along the lines of : C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin

    0 讨论(0)
  • 2021-02-19 04:10

    On Windows 10, this tool has been renamed to the Developer Command Prompt for VS2015. You can find this by simply pressing the Windows key, and then searching for 'Developer Command Prompt'.

    0 讨论(0)
  • 2021-02-19 04:10

    On windows 10, I came across with the same issue. In spite of running my Developer Command Prompt for VS2017 as administrator, I got the same error. But when I installed Windows SDK then makecert command successfully got run.

    0 讨论(0)
提交回复
热议问题