【发布时间】:2018-08-08 05:55:24
【问题描述】:
我带来了来自 GoDaddy 的代码签名证书,并从中生成了一个 .pfx 文件。但是,当我使用此文件对 Outlook vsto 应用程序的 clickonce 清单进行代码签名时,我在 Visual Studio 中收到此错误
An error occurred while signing: Invalid provider type specified.
这可能是什么问题? 谢谢。
【问题讨论】:
-
这是你尝试过的吗? Signing clickonce manifests gives error
-
嗨 @SlavaIvanov 好吧,我尝试在 open ssl
openssl pkcs12 -in mycert-cng.pfx -out mycert.pem openssl pkcs12 -export -in mycert.pem -out mycert-cryptoapi.pfx中通过此命令转换 pfx,然后添加新的 pfx 文件,但是当我构建解决方案时,我得到了他的错误Cannot import the following key file: mycert-cryptoapi.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: VS_KEY_xxxxxx -
我相信article 解释了一切,您只需要按照步骤操作即可。事实上,这不仅仅是将
pfx容器与openssl进行简单转换。我建议开始关注这篇文章,然后再试一次。最后我无法调试你的问题,对吧?最好的问候, -
谢谢,@SlavaIvanov 我搞定了,问题是我没有制作新的强键名文件。
-
干得好,很高兴你完成了。
标签: outlook vsto clickonce code-signing pfx