简体   繁体   English

如何使用csrgenerator.com创建PFX /密码格式的代码签名证书?

[英]How to create a code signing certificate in PFX/password format with csrgenerator.com?

I'm trying to renew my code signing certificate, which is used as a PFX (and password). 我正在尝试更新我的代码签名证书,该证书用作PFX(和密码)。

Godaddy, our cert provider provides instructions on generating a CSR, however this appears to be outdated for Windows 10. Godaddy,我们的证书提供商, 提供了有关生成CSR的说明,但是Windows 10似乎已经过时了。

I called godaddy and they told me to use csrgenerator.com to generate something like: 我打电话给Godaddy,他们告诉我使用csrgenerator.com生成类似以下内容的东西:

-----BEGIN CERTIFICATE REQUEST-----
foo
-----END CERTIFICATE REQUEST-----

-----BEGIN PRIVATE KEY-----
bar
-----END PRIVATE KEY-----

I then pasted the CSR into godaddy's site and they said once the cert is rekeyed, I can download .pem and .spc files. 然后,我将CSR粘贴到了Godaddy的站点中,他们说,一旦对证书进行了密钥更新,我就可以下载.pem和.spc文件。

How am I supposed to create a PFX with password from this? 我该如何用密码创建PFX? If I understand correctly, I need to generate a CSR from my machine. 如果我理解正确的话,我需要生成从我的机器CSR。 The godaddy rep assure me that csrgenerator.com is generating a csr for my machine, but I've no idea how it is getting added to my certificates using MMC, much less how am I going to export the cert to a PFX. Godaddy代表向我保证csrgenerator.com正在为我的机器生成一个csr,但是我不知道如何使用MMC将其添加到我的证书中,更不用说我如何将证书导出到PFX了。 Even though I have the private key section, I don't see it being applied anywhere. 即使我有私钥部分,也看不到它在任何地方都适用。

I know this question was asked several months ago, but I wanted to include a reply in case it helps anyone in the future. 我知道这个问题是在几个月前提出的,但是我想提供一个答复,以防将来对任何人有帮助。 (I came across this post when I was trying to accomplish the same thing) (当我尝试完成同一件事时,我碰到了这篇文章)

Follow these instructions to create a PFX file from the GoDaddy certificate: https://www.godaddy.com/help/windows-install-codedriver-signing-certificate-and-create-pfx-file-2698 请按照以下说明从GoDaddy证书创建PFX文件: https : //www.godaddy.com/help/windows-install-codedriver-signing-certificate-and-create-pfx-file-2698

If you cannot complete these steps because the PFX option is greyed out, then the CSR generated does now allow the private key to be exported. 如果由于PFX选项变灰而无法完成这些步骤,则生成的CSR现在允许导出私钥。 I'm pretty sure the GoDaddy instructions linked in the question above are only for Windows Server. 我很确定上面问题中链接的GoDaddy说明仅适用于Windows Server。 However, I was able to complete the following instructions on Windows 10 to generate a CSR that allowed the private key to be exported: http://www.entrust.net/knowledge-base/technote.cfm?tn=8924 但是,我能够在Windows 10上完成以下说明,以生成允许导出私钥的CSR: http : //www.entrust.net/knowledge-base/technote.cfm? tn= 8924

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM