IE8 window.open SSL证书问题

问题描述:

我有一个使用自签名证书的基于Web的应用程序。登录应用程序时,您必须接受证书。这是一种痛苦,但是......我们暂时还可以,而且一切都很好。
单击帮助链接时,它使用java脚本window.open在新窗口中打开帮助。一切正常。除了在IE8中。

在IE8中,当我使用window.open打开帮助文件时,它再次要求用户接受SSL证书。它就像是在一个新的安全区或其他东西。这在旧的IE或Firefox中不是问题。

I have a web based application that uses a self signed certificate. When you log into the application, you have to accept the certificate. This is a pain, but..we are OK with that for the time being, and everything is fine. When you click on the help link, it uses java script window.open to open the help in a new window. This all works fine. Except in IE8.
In IE8, when I use window.open to open the help file, it again asks the user to accept the SSL certificate. It is like it is in a new security zone or something. This is not an issue in older IE, or in Firefox.

有没有人知道解决这个问题的方法?有没有办法打开一个新窗口,但保持它在同一个安全会话?

Does anyone know a way around this? Is there a way of opening a new window but keeping it in the same security session?

我不想要一个涉及IE配置的解决方案,我不想要必须在我们的安装指南中添加IE配置步骤!
在这个阶段,尽可能多地提交适当的证书是不切实际的。

I don't want a solution that involves IE configuration, I don't want to have to add IE configuration steps to our install guide! And at this stage it is not practical to put in a proper certificate, as much as I would love to.

更新:应用程序的网址是只是localhost:端口。帮助文件只是help.html。我们在关于框中遇到了同样的问题。 About.html。

Update: The url of the application is just localhost:port. The help file is just help.html. We have the same problem with the About box. About.html.

这是IE8的预期行为。除非您将站点证书添加到永久例外列表中,否则应该提示网站打开的每个新窗口。

This is expected behavior for IE8. Unless you add the site certificate to a list of permanent exceptions, you should get prompted for each new window the site opens.

您的选择是:


  • 永久接受自签名证书

  • 签发真实证书

  • 将额外的窗口集成到已经打开的窗口中,而不是产生更多的浏览器垃圾

  • Live,每个窗口必须接受一次证书

  • Accept your self-signed certificate permanently
  • Issue a real certificate
  • Integrate the extra windows into the already-open one instead of spawning more browser junk
  • Live with having to accept the certificate once per window