获取数字证书

发布于 2024-07-30 03:48:04 字数 331 浏览 2 评论 0原文

我们有一个 .net WPF 应用程序作为 XBAP 和桌面等运行。我没有签署任何程序集等。我的问题是

Q1。我需要从 VeriSign, Inc. 或其他证书颁发机构购买哪种数字证书。 要签署我的应用程序,请将其用作 Authenticode 证书(在 clickonce 中)?

Q2.我可以使用此数字证书来签署其他应用程序,如安装程序、程序集、pdf 等吗?

Q3.对于一家公司来说,一张数字证书就足够了还是我必须购买其他的?

Q4.证书过期后会发生什么? (所以,如果没有人会在你的应用程序文件夹或其他东西中植入病毒,那么最好不要拥有它并搞砸自己吗???)

We have a .net WPF application running as both XBAP and Desktop etc.I haven't signed any assemblies etc.My question is that

Q1.What kind of Digital Certificate do I need to purchase from VeriSign, Inc., or another certificate authority. to sign my application,use it as Authenticode Certificate (in clickonce) ?

Q2.Can I use this Digital Certificate to sign other applications like installers,assemblies,pdf etc?

Q3.Is one Digital Certificate enough for a company or I have to buy other?

Q4.What happens when the Certificate expires? (So is it better to not have it and screw yourself if no one is gonna hack and plant a virus in you app folder or something ???)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

君勿笑 2024-08-06 03:48:04

A1。 您需要一个代码签名证书。 它们有多种风格,通常可以从一种转换为另一种,但立即获得 Authenticode 可能是最简单的。

A2。 您可以使用相同的证书来签署安装程序和程序集(以及任何 .EXE、.DLL、.OCX 文件)。 我认为这同样适用于 .PDF,但我从未使用过它。

A3。 我会为你们公司申请一个证书。

A4。 证书过期后,您将无法再使用它进行签名。 但是,只要您使用时间戳服务 当您对代码进行签名时,已签名的文件仍然有效。

A1. You need a code signing certificate. They come in several flavours, and typically can be converted from one to the other, but it's probably easiest to get an Authenticode one rightaway.

A2. You can use the same cert to sign installers and assemblies (and any .EXE, .DLL, .OCX file). I think the same applies to .PDF, but I've never used that.

A3. I'd go for a single cert for your company.

A4. When the cert expires, you cannot use it for signing anymore. However, as long as you use a timestamping service when you sign your code, already signed files remain valid.

ゝ杯具 2024-08-06 03:48:04

A1:您需要代码签名证书。 您可以选择任何提供商,但请注意,并非所有提供商都被 Windows 识别为“可信”。 在值得信赖且更便宜的产品中(比 VeriSign 便宜)有 Comodo

答2:是的。

A3: 一个就够了。

A4:您将无法签署新代码。 如果您使用时间戳服务器,旧代码将保持签名状态(您将获得带有证书的位置)。 如果您选择不使用时间戳服务器,认证将仍然有效,但用户将收到已过期的消息。

A1: You need code signing certificate. You may choose any provider, but do notice that not all of them are recognized by Windows as "trusted". Among trusted and cheaper ones (cheaper then VeriSign) there is Comodo.

A2: Yes.

A3: One is enough.

A4: You will not be able to sign new code. Old code will remain signed if you used timestamp server (you'll get location of one with certificate). If you opt not to use timestamp server, certification will remain valid, but users will get message that it it expired.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文