我们在内部网中使用自签名证书。我需要做什么才能让ie8接受它们而不向用户显示错误消息?我们为ie7所做的工作显然不起作用。
编辑:如果我将证书放入受信任的根证书颁发机构,Internet Explorer 7将不会显示任何错误。即使有证书,ie8似乎也会显示错误。
我们在内部网中使用自签名证书。我需要做什么才能让ie8接受它们而不向用户显示错误消息?我们为ie7所做的工作显然不起作用。
编辑:如果我将证书放入受信任的根证书颁发机构,Internet Explorer 7将不会显示任何错误。即使有证书,ie8似乎也会显示错误。
当前回答
如果您正在进行一些本地测试,并且您在主机文件中添加了一些别名
127.0.0.1 www.mysite.com
并尝试使用上述任何程序,你将失败。原因是您将为localhost导入一个证书。证书URL不匹配。
在这种情况下,您必须生成一个自签名证书,然后按照上面所述导入它。
如果您正在使用Xampp,则可以轻松地生成正确的证书 c: \ xampp \ apache \ makecert.bat
其他回答
这可能会帮助一些人,我在IE11 windows 7和我所做的除了安装证书是去互联网选项==> advance标签==>安全==>“删除检查”从警告证书地址不匹配除了下面-别忘了关闭所有IE实例并重新启动-完成后:
1 .启动ie浏览器。
2 .使用计算机名浏览服务器计算机(忽略证书警告)
3-点击屏幕上方“Certificate Error”文本,选择“View certificates”
4在“证书”对话框中,单击“安装证书->下一步”
5勾选“将所有证书放入下列存储”->浏览
6 .安装到受信任的根证书。
然后重新启动。
希望这能帮助到一些人。
我尝试了很多很多的步骤,不同的人张贴在不同的网站上。 但是没有人提到我应该将证书添加到Trusted People密钥库中。
没错,把它放在受信任的CA下对我来说是不够的,我还必须把证书放在受信任的人里面。
这就是:
MMC运行 添加证书管理单元,选择“本地计算机” 展开证书(本地计算机)->受信任人员->证书 右键单击所有任务->导入 完成向导
导出证书。
以管理员身份运行IE(右键单击,以管理员身份运行) 当提示证书无效时,继续访问该网站 点击证书错误地址附近,点击查看证书 转到详细信息页签,单击复制到文件 保存为*。cer文件。
我用的是IE9和Windows 7
如果您正在进行一些本地测试,并且您在主机文件中添加了一些别名
127.0.0.1 www.mysite.com
并尝试使用上述任何程序,你将失败。原因是您将为localhost导入一个证书。证书URL不匹配。
在这种情况下,您必须生成一个自签名证书,然后按照上面所述导入它。
如果您正在使用Xampp,则可以轻松地生成正确的证书 c: \ xampp \ apache \ makecert.bat
如何安装CA根证书,而不是网站证书:(IE8, Win7)
When you bring up the certificate details you are looking at the website cert, and not the CA cert. The General tab will say, "This certificate cannot be verified..." You need to select the CA by clicking on the Certification Path tab, and selecting the top most cert in the path. It should have a red X icon, and should say, "This CA Root certificate is not trusted because..." Click the View Certificate button, and on this new General tab you should see, "This CA Root is not trusted..." This is the certificate that you want to import into the Trusted Root Certificate Authority.
一旦您导入了CA,您就不需要再导入常规的网站证书,该证书将与您刚刚导入的CA匹配,IE会将一切视为正常工作。您不需要以管理员身份运行IE,也不需要先将站点添加到可信站点。导入完成后需要重新启动IE。
如何在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.