问题VSTO使用sha256时间戳签署clickonce [英] Problem VSTO Signing clickonce with sha256 timestamp

查看:152
本文介绍了问题VSTO使用sha256时间戳签署clickonce的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们最近将证书升级为支持sha256的证书,我们可以使用signtool通过此证书签署我们的MSI。

we've recently upgraded our certificate to one that supports sha256, and we can use the signtool to sign our MSI with this certificate.

但是当我们使用证书时在Outlook插件项目中,当我们为sha256时间戳设置url时,我们收到错误。 "签名时发生错误:参数不正确"。如果我使用旧的sha1时间戳网址,则构建会通过,但是当尝试安装插件时
,用户会收到无法验证发布者的警告。

But when we use the certificate in the Outlook addin project, and when we set the url for sha256 timestamp, we get an error. "An error occurred while signing: The parameter is incorrect". If I use the old sha1 timestamp url, the build passes, but when trying to install the addin, the user gets a warning that the publisher cannot be verified.

我们是使用VS2015和VS2013,我们有强名称签名的自签名证书。

We are using VS2015 and VS2013, and we have a self sign certificate for the strong name signing.

推荐答案

您好,

我建议您创建其他项目,如Windows Form,由ClickOnce发布并使用证书签名以检查问题是否仍然存在。

I suggest you create other projects like Windows Form, publish by ClickOnce and sign it using the certificate to check if the issue persist.

如果无法为其他项目重新解决问题,请创建新的VSTO项目以确认问题是否特定于VSTO项目。如果问题特定于此计算机中的VSTO项目,您是否可以在其他计算机中重现该问题?

If the issue could not be reprouced for other projects, please create new VSTO projects to confirm if the issue is specific for VSTO projects. If the issue is specific for VSTO projects in this machine, could you reproduce the issue in other computer?

问候,

Celeste


这篇关于问题VSTO使用sha256时间戳签署clickonce的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆