Internet Explorer 阻止自签名 ActiveX

发布于 2024-08-23 01:43:12 字数 537 浏览 4 评论 0原文

我已经创建了一个自签名证书并签署了我的 ActiveX。我按照本主题中的步骤进行操作。 (如何创建用于在 Windows 上进行代码签名的自签名证书?

其中一个区别是我的可执行文件位于 MSI 包中。因此,我使用signtool 对 MSI 文件以及 MSI 内的所有其他 DLL/Exe 进行签名。

我将证书导入到受信任的根存储中。当我单击下载 MSI 时,我可以看到发布者是正确的,并且不是“未知发布者”。 IE 允许我下载并运行 MSI 文件,但是当我尝试调用 ActiveX 时,IE 会阻止它。 (错误:自动化服务器无法创建对象)

我发现一些网站提到我必须设置 CN =“我的网站 URL”,我应该为“localhost”设置什么?

我的activeX将用于Intranet网络,所以我不想从那些CA购买证书。

请帮忙。谢谢。

I have create a self-signed certificate and signed my ActiveX. I followed the steps in this topic. (How do I create a self-signed certificate for code signing on Windows?)

One difference is that my executable files come in MSI package. So I used signtool to sign the MSI file and all other DLLs/Exe inside the MSI.

I imported the certificate to trusted root store. When I clicked download the MSI, I could see that the publisher is correct, and it wasn't 'Unknown Publisher'. IE allows me to download and run MSI file,but when I tried to call my ActiveX,IE blocks it. (Error: Automation server can't create object)

I found some websites mentioned that I have to set CN="my web site URL", what should I put for "localhost"?

My activeX will be used in intranet network,so I don't want to buy cert from those CA.

Please help. Thank you.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文