我们在内部网中使用自签名证书。我需要做什么才能让ie8接受它们而不向用户显示错误消息?我们为ie7所做的工作显然不起作用。

编辑:如果我将证书放入受信任的根证书颁发机构,Internet Explorer 7将不会显示任何错误。即使有证书,ie8似乎也会显示错误。


当前回答

正如其他人所提到的,第一个任务是将证书添加到受信任的根颁发机构。

有一个自定义的exe (self .exe),它将创建一个证书,并允许您指定颁发给:值(URL)。 这意味着Internet explorer将使用自定义内部网url验证发送给url的内容。

确保重新启动Internet Explorer以刷新更改。

其他回答

如何在20个恼人的步骤中让IE8信任自签名证书

Browse to the site whose certificate you want to trust. When told “There is a problem with this website's security certificate.”, choose “Continue to this website (not recommended).” Select Tools➞Internet Options. Select Security➞Trusted sites➞Sites. Confirm the URL matches, and click “Add” then “Close”. Close the “Internet Options” dialog box with either “OK” or “Cancel”. Refresh the current page. When told “There is a problem with this website's security certificate.”, choose “Continue to this website (not recommended).” Click on “Certificate Error” at the right of the address bar and select “View certificates”. Click on “Install Certificate...”, then in the wizard, click “Next”. On the next page select “Place all certificates in the following store”. Click “Browse”, select “Trusted Root Certification Authorities”, and click “OK”. Back in the wizard, click “Next”, then “Finish”. If you get a “Security Warning” message box, click “Yes”. Dismiss the message box with “OK”. Select Tools➞Internet Options. Select Security➞Trusted sites➞Sites. Select the URL you just added, click “Remove”, then “Close”. Now shut down all running instances of IE, and start up IE again. The site’s certificate should now be trusted.

正如其他人所提到的,第一个任务是将证书添加到受信任的根颁发机构。

有一个自定义的exe (self .exe),它将创建一个证书,并允许您指定颁发给:值(URL)。 这意味着Internet explorer将使用自定义内部网url验证发送给url的内容。

确保重新启动Internet Explorer以刷新更改。

您可以使用CertMgr将证书添加为受信任的发行者,如果是自签名的,则添加为根证书

CertMgr.exe /add CertificateFileName.cer /s /r localMachine root

请参阅微软的文档:

https://learn.microsoft.com/en-us/windows-hardware/drivers/install/using-certmgr-to-install-test-certificates-on-a-test-computer

这可能会帮助一些人,我在IE11 windows 7和我所做的除了安装证书是去互联网选项==> advance标签==>安全==>“删除检查”从警告证书地址不匹配除了下面-别忘了关闭所有IE实例并重新启动-完成后:

1 .启动ie浏览器。

2 .使用计算机名浏览服务器计算机(忽略证书警告)

3-点击屏幕上方“Certificate Error”文本,选择“View certificates”

4在“证书”对话框中,单击“安装证书->下一步”

5勾选“将所有证书放入下列存储”->浏览

6 .安装到受信任的根证书。

然后重新启动。

希望这能帮助到一些人。

确保自签名证书与站点URL匹配。如果不这样做,即使在Internet Explorer 8中显式地信任该证书之后,您也将继续得到证书错误(我没有Internet Explorer 7,但Firefox将不管URL不匹配都信任该证书)。

如果这是问题,Internet Explorer 8中的红色“证书错误”框将在您添加证书后显示“不匹配的地址”作为错误。此外,“查看证书”有一个颁发给:标签,显示证书针对哪个URL有效。