使用自签名证书对Windows应用程序进行签名是没有用的吗? [英] Is it useless to sign my Windows application with a self signed certificate?

查看:462
本文介绍了使用自签名证书对Windows应用程序进行签名是没有用的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经编写了一个NWjs Windows应用程序(Chromium应用程序),并使用Inno Setup,我已经使用自签名证书对其进行了签名.但是,尝试从Web上安装它时,出现了"Windows保护了您的PC" 消息.现在我不知道使用此自签名证书对应用程序进行签名是否没有用,因为当我不对应用程序进行签名并按原样打包时,我得到的结果是相同的.

I have coded an NWjs Windows application (Chromium application) and using Inno Setup, I have signed it using a self-signed certificate. However, I get the "Windows protected your PC" message when trying to install it from the web. I wonder now if signing my application with this self-signed certificate is useless because I get the same result when I don't sign the application and package it as it is.

当我单击更多信息" 时,它表示在我使用自签名证书和不自签名证书对应用程序进行签名的两种情况下,发布者都是未知的.

When I click "more info" it states that the publisher is unknown in both cases when I sign the application with a self-signed certificate and without a self-signed certificate.

我想知道,有时候,当应用程序分发到Internet上时,证书的数据(例如主题的CN)是否有助于获得一定的声誉.我想知道自签名证书是否有时会帮助摆脱"Windows保护您的PC" 消息.

I wonder if after sometimes, the data (like the CN of the subject) of the certificate helps to get some reputation when the application is distributed on the internet. I wonder if a self signed certificate help to get rid of the "Windows protected your PC" message after sometimes.

推荐答案

自签名证书只有在可以通过手动将它们添加到Windows证书存储区以使其在目标计算机上受信任的情况下才有用.

Self-signed certificates are useful only, if can make them trusted on the target machine, by manually adding them to Windows certificate store.

如果您希望将应用程序安装在不受控制的计算机上,那么自签名证书将毫无用处.

If you want your application to be installed on machines that you do not control, self-signed certificates are useless.

这篇关于使用自签名证书对Windows应用程序进行签名是没有用的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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