Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 7 windows 7中缺少makecert.exe,如何获取和使用它_Windows 7_Makecert - Fatal编程技术网

Windows 7 windows 7中缺少makecert.exe,如何获取和使用它

Windows 7 windows 7中缺少makecert.exe,如何获取和使用它,windows-7,makecert,Windows 7,Makecert,我正在使用Windows7。我没有makecert.exe,当我尝试运行命令生成证书时,我就知道了,比如 makecert -sk XYZ -n "CN=XYZ Company" testXYZ.cer 我得到一个错误: 'makecert' is not recognised as an internal or external command, operable program or batch file. 请建议如何解决这个问题。是否需要重新安装Windows SDK 问候,, 普拉文

我正在使用Windows7。我没有makecert.exe,当我尝试运行命令生成证书时,我就知道了,比如

makecert -sk XYZ -n "CN=XYZ Company" testXYZ.cer
我得到一个错误:

'makecert' is not recognised as an internal or external command, operable program or batch file.
请建议如何解决这个问题。是否需要重新安装Windows SDK

问候,,
普拉文。

你读过这个链接吗:?它将您发送到您可以从那里下载SDK(包括makecert)

我知道现在回复已经太迟了,但是它可能会帮助其他人查找此可执行文件

如果您安装了VS2005,您将在下面找到它

C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin

如果您安装了VS 2008,您将在下面找到它

C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDK工具


在命令提示符下转到此位置,然后使用参数运行“makecert”命令。

makecert.exe同时随Visual Studio和Windows SDK提供。因此,只需使用VisualStudio命令提示符或WindowsSDK命令提示符,它将直接工作,因为它将包含在命令提示符路径中

makecert
包含在“.NET开发>工具”存储桶中

此选定存储桶包括makecert实用程序(至少在SDK v7.1中)。

您可以在microsoft SDK目录中找到它:

C:\ProgramFiles(x86)\Microsoft SDK\Windows\v7.0A\Bin\makecert.exe


您可以在此处找到makecert的版本:。有关如何在此处使用它的说明:

C:\ProgramFiles(x86)\Windows Kits\8.0\bin\x64


C:\Program Files(x86)\Windows Kits\8.0\bin\x86

不久前遇到了同样的问题,我想我会共享我找到的下载和安装此工具的链接


请让我知道这是否有效如果你真的着手做的话,我意识到这篇文章有点过时。

现在已经被弃用了。您应该使用PowerShell的cmdlet创建自签名证书。

Windows 10安装Windows SDK后:

如果您有ARM微处理器:C:\Program Files(x86)\Windows Kits\10\bin\10.0.17134.0\arm64

英特尔微处理器:C:\Program Files(x86)\Windows Kits\10\bin\10.0.17134.0\x64


将该文件夹添加到PATH环境变量中

我的副本(已安装Visual Studio 2017)如下:“C:\Program Files(x86)\Windows Kits\10\bin\10.0.17134.0\x64\makecert.exe”

如果您只需要makecert:为您的计算机安装Windows SDK版本。在安装过程中,取消选中除.net工具以外的所有工具…如果您刚刚选择了默认安装位置,
makecert.exe
(和
pvk2pfx.exe
)将位于
C:\Program Files\Microsoft SDK\Windows\v7.1\Bin
OP可能已经找到了“makecert”的谷歌搜索结果,但缺少指向SDK的链接+1毫秒以确保文档的一致性。在Windows 7上,默认安装目录为:C:\Program Files\Microsoft SDK\Windows\v7.1\b您的问题是,如何在Windows 7上安装powershell,那么,正如另一个问题所指出的,这可能会有所帮助。所以不,我的问题不是如何在Windows7上安装Powershell。