在第ClickOnce and Authenticode条中,我读到:
For ClickOnce applications,you must have an Authenticode certificate
that is valid for code signing. You can obtain a certificate for code
signing in one of three ways:
Purchase one from a certificate vendor.
Receive one from a group in your organization responsible for creating
digital certificates.Generate your own certificate with MakeCert.exe,which is included
with the Windows Software Development Kit (SDK).
在我的情况下,2号不适用.
我读了几行后:
By default, ClickOnce applications signed with self-certs and deployed
over the Internet cannot utilize Trusted Application Deployment.
(强调我的.)
我默认无法理解这个含义.在我的情况下,选项#3是否可能?
然后,为了理解所有可能性,#1意味着什么? (“从证书供应商处购买一件”)我应该购买什么样的证书?哪个certificate authority可以推荐?取决于我应该选择什么?证书费用是多少?
签署申请并不是强制性的,但如果我们这样做,我们的用户将不会看到一条警告消息,指出该软件的作者是未知的.
Microsoft Authenticode证书需要由受信任的证书颁发机构颁发.不幸的是,价格相当昂贵.更多信息和一些例子
在第Microsoft Authenticode Certificates页.
更新我通过KSoftware(Comodo零售商)购买了证书.与替代品相比,价格非常好:每年95美元.这个过程比我预期的要快:我在早上和晚上都申请了我的证书. (对于那些感兴趣的人,我跟着this step-by-step guide.)