认证在两个国家/地区开发的Windows Forms应用程序 [英] Certifying Windows Forms applications developed in two countries

查看:66
本文介绍了认证在两个国家/地区开发的Windows Forms应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在努力了解验证Windows窗体应用程序的过程。我在VS2017下运行的VB中编写了一些Windows窗体应用程序,并使用部署项目来构建安装。当人们安装应用程序时,他们会(至少)获得发布者未知的警告。我想摆脱这个警告,所以我一直在寻找为我的应用程序获取证书。

I've been trying to understand the process to certify my Windows forms applications. I've written a few Windows forms applications in VB running under VS2017 and use a deployment project to build the installation. When people install the applications, they get (at least) a warning that the publisher is unknown. I want to get rid of that warning, so I've been looking at getting a certificate for my applications.

我发现认证应用程序的过程有点混乱!我有些问题我无法找到明确的答案:

I've found the process of certifying an application a little confusing! I've some questions that I can't find clear answers for:

我实际需要购买什么以及最便宜的方法是什么?

What do I actually need to buy and what's the cheapest way to do this?

我有3个人可以下载的应用程序 - 我是否为所有应用程序使用单一证书?

I've 3 applications that people can download - do I use a single certificate for all the applications?

我在两个国家之间分配时间(英国和塞浦路斯);所以我没有一台机器用于构建应用程序。我见过的大多数描述认证过程的网站都谈到了一台持有证书的机器。我可以将
密钥从机器复制到另一台来管理吗?

I split my time between two countries (UK & Cyprus); so I don't have a single machine I use to build the applications. Most of the websites I've seen describing the certification process talk about a single machine to hold the certificate. Can I copy the key from machine to another to manage this?

是否有在VS2017中执行此操作的分步指南?

Is there a step by step guide for doing this in VS2017?

AndrewFromEssex

AndrewFromEssex

推荐答案

您好AndrewFromEssex,

Hi AndrewFromEssex,

>>未知发布者

>>Unknown Publisher

通常,警告名为"Unknown Publisher"不应出现有效证书。

In general, the warning named "Unknown Publisher" should not appear with a valid certificate.

受信任的出版商有3个必要条件。

The trusted publisher has 3 required conditions.

1。您必须始终使用发布者证书对ClickOnce部署和应用程序清单进行签名。

2.必须在用户计算机上的受信任发布者证书存储中配置用于签署ClickOnce应用程序的证书。

3.必须在用户计算机上的受信任的根证书颁发机构证书存储中配置颁发证书的证书颁发机构。

1. you must always sign the ClickOnce deployment and application manifests with a publisher certificate.
2. the certificate used to sign a ClickOnce application must be configured in the Trusted Publishers certificate store on the user's machine.
3. the certificate authority that issued the certificate must be configured in the Trusted Root Certificate Authority certificate store on the user's machine.

请仔细检查这些条件。欲了解更多信息,以下链接供您参考:

Please double check these conditions. For more information, link below is for your reference:

配置ClickOnce受信任的发布者。

>>我实际需要购买什么以及什么是最便宜的方式吗?

>>What do I actually need to buy and what's the cheapest way to do this?

事实上,您无需购买它,您可以自己创建证书:

In fact, you need not to buy it and you can create a certificate by yourself:

如何:签署应用程序和部署清单

如何:创建自己的测试证书

如何使用Visual Studio 2012制作和部署自签名的ClickOnce清单

希望这会有所帮助!

问候,

Stanly


这篇关于认证在两个国家/地区开发的Windows Forms应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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