简体   繁体   English

如何将WPF应用程序签名和部署为受信任的应用程序

[英]How to sign and deploy WPF application as a trusted application

Um using clickonce option to deploy my WPF application I have used the signtool to sign the .exe file which created after doing a clickonce . 嗯,使用clickonce选项部署我的WPF应用程序时,我已经使用signtool签名了执行clickonce之后创建的.exe文件。 In the WPF project properties um not checkin the sign option but when I tried to run the application in another PC it says cannot trust. 在WPF项目属性中,请不要签入sign选项,但是当我尝试在另一台PC上运行该应用程序时,它表示无法信任。

Then I signed the manifest by using mage as well though the certification file was created by me . 然后,尽管认证文件是由我创建的,但我也使用法师对清单进行了签名。

How may I do a signed trsuted deployment of my application ? 如何对应用程序进行签名的部署? Thank you in advanced 谢谢高级

Trusted Application Deployment , part of the ClickOnce deployment technology, makes it easier for organizations of any size to grant additional permissions to a managed application in a safer, more secure manner without user prompting. ClickOnce部署技术的一部分, Trusted Application Deployment使各种规模的组织都可以更容易地以更安全,更安全的方式向托管应用程序授予其他权限,而无需用户提示。 With Trusted Application Deployment, an organization can just configure a client computer to have a list of trusted publishers, who are identified using Authenticode certificates. 通过“受信任的应用程序部署”,组织可以仅将客户端计算机配置为具有受信任的发布者的列表,这些列表由Authenticode证书标识。 Thereafter, any ClickOnce application signed by one of these trusted publishers receives a higher level of trust. 此后,由这些受信任的发布者之一签名的任何ClickOnce应用程序都将获得更高级别的信任。

You must follow these steps to take advantage of Trusted Application Deployment: 您必须按照以下步骤利用可信应用程序部署:

  1. Obtain a certificate for the publisher. 获取发布者的证书。
  2. Add the publisher to the trusted publishers store on all clients. 将发布者添加到所有客户端上的受信任发布者存储中。
  3. Create your ClickOnce application. 创建您的ClickOnce应用程序。
  4. Sign the deployment manifest with the publisher's certificate. 用发布者的证书签署部署清单。
  5. Publish the application deployment to client computers. 将应用程序部署发布到客户端计算机。

Read more . 阅读更多

You have to use one of the trusted certificates. 您必须使用受信任的证书之一。 To see what certificates are trusted for your operating system, go to: Window+r -> certmgr.msc 要查看您的操作系统信任哪些证书,请转到: Window+r > certmgr.msc

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

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