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

发布于 2024-10-29 03:37:16 字数 351 浏览 1 评论 0原文

我使用的是 Windows 7。我没有 ma​​kecert.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吗?

问候, 普拉文。

I am using Windows 7. I don't have the makecert.exe, which I came to know when I tried to run commands to generate certificates like

makecert -sk XYZ -n "CN=XYZ Company" testXYZ.cer

I get error :

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

Pls suggest how to resolve this issue. Do i need to install the Windows SDK again.

Regards,
Pravin.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(10

牵你的手,一向走下去 2024-11-05 03:37:16

makecert.exe 随 Visual Studio 和 Windows SDK 一起提供。因此,只需使用 Visual Studio 命令提示符或 Windows SDK 命令提示符,它将直接开箱即用,因为它将包含在命令提示符路径中。

makecert 包含在“.NET Development > Tools”存储桶中。

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

makecert.exe comes with both Visual Studio and the Windows SDK. Therefore just use either the Visual Studio Command Prompt or the Windows SDK command prompt and it will work straight out of the box as it will be included in the command prompt path.

makecert is included in the ".NET Development > Tools" bucket.

This selected bucket includes the makecert utility (at least in SDK v7.1).
This selected bucket includes the makecert utility (SDK v7.1).

忘年祭陌 2024-11-05 03:37:16

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

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

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

OR

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

以酷 2024-11-05 03:37:16

您可以在这里找到 makecert 的版本: http://www.inventec.ch/chdh/notes/makecert_5_131_3790_0.zip 。还有有关如何使用它的说明:http://www.inventec.ch/chdh/notes/14.htm

You can find a version of makecert here : http://www.inventec.ch/chdh/notes/makecert_5_131_3790_0.zip. Also instructions on how to use it here : http://www.inventec.ch/chdh/notes/14.htm

飘逸的'云 2024-11-05 03:37:16

您是否阅读过此链接:MakeCert ?它会将您发送至 Microsoft Windows 软件开发工具包,您可以从中下载SDK 包括 makecert

Have you read this link: MakeCert? It sends you to Microsoft Windows Software Development Kit from where you can download the SDK including makecert

烟花肆意 2024-11-05 03:37:16

我知道现在回复已经太晚了,但是它可能会帮助其他人寻找这个可执行文件。

如果你已经安装了VS 2005,你会在下面找到它

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

如果你安装了 VS 2008,你会在下面找到它

C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools

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

I know its too late to reply, however it might help other looking out for this executable.

if you have installed VS 2005, you will find it under

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

if you have installed VS 2008, you will find it under

C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools

go to this location on command prompt and then run you "makecert" command with arguments.

萌吟 2024-11-05 03:37:16

MakeCert.exe 现已发布已弃用。您应该使用 PowerShell 的 New-SelfSignedCertificate cmdlet 创建自签名证书。

MakeCert.exe is now deprecated. You should use PowerShell's New-SelfSignedCertificate cmdlet to create a selfsigned certificate.

拥抱我好吗 2024-11-05 03:37:16

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

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

You can find it on microsoft sdks directory:

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

再可℃爱ぅ一点好了 2024-11-05 03:37:16

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

My copy (with Visual Studio 2017 installed) was here: "C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64\makecert.exe"

一瞬间的火花 2024-11-05 03:37:16

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

http://go.microsoft.com/fwlink/p/?linkid=84091

如果您确实有时间的话,请告诉我这是否有效,我意识到这篇文章有点旧了。

Ran into the same problem awhile back and thought I would share the link I found to download and install this tool.

http://go.microsoft.com/fwlink/p/?linkid=84091

Please let me know if this works if you do get around to it, I realize this post is a little old.

驱逐舰岛风号 2024-11-05 03:37:16

安装 Windows SDK 后的 Windows 10:

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

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

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

Windows 10 after installing Windows SDKs:

If you have ARM microprocessor: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\arm64

Intel microprocessor: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64

Add that folder to your PATH environment variable

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文