Created attachment 8770964 [details] Screenshot 2016-07-14 10.15.46.png I typically run with 3 gmail accounts open. One of these accounts seems to give me a weak encryption or mixed content warning periodically. It looks secure on initial load, but then the next day will show the yellow triangle icon. Looking at the info page I can't tell what is causing this.
The only non-https entry in the info page media tab is a data URL image: data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw%3D%3D
Hmmm - is this session-restore-related? Or do you have the browser open the whole time? Also, are there any clues in the network panel in the devtools?
(In reply to David Keeler [:keeler] (use needinfo?) from comment #4) > Hmmm - is this session-restore-related? Or do you have the browser open the > whole time? Also, are there any clues in the network panel in the devtools? The browser has been open for a long time. I don't normally keep the devtools open all the time, so whatever request triggered it is long past. I also don't know if we show blocked requests in the devtools at all. We really should log the URL of blocked resources somewhere.
Tanvi, any ideas?
Hmm, looks like the control center is trying to communicate two different issues here: 1) There is Mixed Active Content blocked on the page. This is a little suprising from gmail, since I would have thought they fixed their mixed content issues. (If you are using Nightly though, this problem alone wouldn't trigger a change to the green lock icon next to the url. We no longer change that when just mixed active content is blocked). Mixed Content (blocked or loaded) will show up in the security pane of the Web Console. 2) The Weak Encryption warning is what is causing the grey lock with the yellow triangle icon in the url bar. Weak encryption can mean that the certificate is using a weak crypto algorithm. I'm looking into what algorithms cause that warning.
What's the value of the pref "security.ssl.treat_unsafe_negotiation_as_broken" in your profile?
The weak encryption issue is also mentioned here: https://bug1286841.bmoattachments.org/attachment.cgi?id=8770965 But if you look at the algorithm, it is actually secure. If I visit gmail and view the certificate info, I get the same algorithm along with a "Connection Encrypted" message instead of "Broken Encryption". Did you change the security.ssl.treat_unsafe_negotiation_as_broken pref? If so, then that might be the reason for Broken Encryption. If not, I think something is giving this page a security state of STATE_IS_BROKEN. Since no mixed content is loading, we assume it is broken for a bad cipher - https://dxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#7075 - but that is not the case. So we have to figure out why the page is getting a broken state.
From my about:config: security.ssl.treat_unsafe_negotiation_as_broken = false To clarify, the tab showed a green lock originally. After many days/weeks it turned to the yellow triangle. A reload put it back to the green lock. I haven't seen this reproduce in the last few weeks. I did have some issues with my ISP intermittently throwing network requests over to an internal error page for a while. With a different cert. Maybe that happened on an xhr or something and triggered the warning? Of course, then I wonder why only that 1 gmail tab got the behavior. I have 3 gmail tabs open all the time. It consistently affected the same gmail account tab.
This has reproduced again. Anything I can do to investigate while the page is live in my browser?
Is there anything of note in the browser console or the web console? (Maybe any mentions of CVE-2009-3555?)
If its a mixed content issue, it will show up in the security pane of the webconsole. I'm not sure how many of the "weak encryption" warnings show up in the console. But the cert should help us identify that. If you could print the state in the securityUI, that would also be helpful. I'm not sure if there is a way to do that with the browser toolbox though. If there is definitely nothing wrong with the cert and there is definitely no mixed content, then we may have a bug somewhere in nsSecureBrowserUIImpl.
Are you using windows, linux, or mac? Do you have the google hangouts plugin on or off?
I haven't seen this in months. Maybe google changed something or I am seeing different content now. Anyway, lets WFM for now.