为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

"Unsecure Connection" to chart.apis.google.com (ssl_error_bad_cert_domain)

  • 6 个回答
  • 8 人有此问题
  • 12 次查看
  • 最后回复者为 archon810

more options

when I try to connect to http://chart.apis.google.com, Firefox first switches to HTTPS, and then complains of an Untrusted Connection due to "ssl_error_bad_cert_domain". The certificate is stated to cover *.google.com, and I do not have certificate problems at https://apis.google.com.

I do NOT have HTTPS everywhere installed, and the same issue occurs in safe mode.

I notice this problem due to missing images on some websites that use chart.apis.google.com. The images were missing in Version 16, but I only did this testing today on 17.0

when I try to connect to http://chart.apis.google.com, Firefox first switches to HTTPS, and then complains of an Untrusted Connection due to "ssl_error_bad_cert_domain". The certificate is stated to cover *.google.com, and I do not have certificate problems at https://apis.google.com. I do NOT have HTTPS everywhere installed, and the same issue occurs in safe mode. I notice this problem due to missing images on some websites that use chart.apis.google.com. The images were missing in Version 16, but I only did this testing today on 17.0

所有回复 (6)

more options

Clear the cache and the cookies from sites that cause problems.

"Clear the Cache":

  • Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"

"Remove Cookies" from sites causing problems:

  • Tools > Options > Privacy > Cookies: "Show Cookies"

There may also be a Google setting to prefer a secure connection


Try to set the Boolean pref browser.urlbar.autoFill to false on the about:config page to disable the auto-fill feature on the location bar and prevent Firefox from using the https protocol.

See "Prevent Firefox from automatically completing URLs":


You can set the browser.urlbar.trimURLs pref to false on the about:config page to see the http: protocol on the location bar and in the pop-up if you hover a link.

more options

Clearing Cache & cookies had the same result. (I only cleared cookies from the source site, skritter.com, since chart.apis.google.com had no cookies).

I tried the same URL from Internet Explorer 9 while logged into Google.
http://charts.api.google.com eventually redirects to https://developers.google.com/chart/ without certificate questions. (However if I type https://charts.api.google.com into IE, it does give a certificate error).

As a follow-up, I also tried this in a clean profile while in safe-mode with the same result, so the HTTPS switching very much feels like a "normal" Firefox behaviour.

So it seems that Firefox is redirecting me to https, and I cannot determine why. This is further confirmed by using the following full-chart URL in IE & Firefox:

in IE, it remains as http protocol, but in Firefox it is changed to https.

由cor-el于修改

more options

Does that also happen if you temporarily switch to Private Browsing mode to disable the disk cache and possible cookies?

  • Tools > Options > Privacy, choose the setting Firefox will: Use custom settings for history
  • [X] "Always use private browsing mode"
more options

I set "Always Use private browsing mode" in a clean profile with the same result. I also did a packet-sniff for the private browsing session as well as with my normal profile, and there is no HTTP query. Immediately after the DNS query is an HTTPS packet to the destination. No HTTP packet seems to be sent.

(Testing in my normal profile was NOT in private mode)

由nomadwolf于修改

more options

I have the same issue, it started happening after the FF17 update yesterday.

FF now redirects all HTTP Google Chart API images to HTTPS for some reason, and that is horribly broken due to the certificate issue that was brought up above.

Thus a page like this no longer display the QR code: http://www.androidpolice.com/2012/10/12/new-app-chainfires-perfmon-is-a-floating-performance-monitor-with-a-unique-cpu-metric.

http://chart.apis.google.com/chart?cht=qr&chs=108x108&chld=L|0&chl=http%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Deu.chainfire.perfmon <- shows certificate warnings after the HTTPS redirect.

more options