Suppress Firefox/Firebug SHA-1 warning

Sergey Kravchenko picture Sergey Kravchenko · Jun 2, 2015 · Viewed 19.8k times · Source

I use Firebug for web development. Since version Firefox 37 I see the following annoying message in my console:

This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1"

I understand that it is an important message, but it is duplicated many times and makes my work almost impossible. Moreover, it appears every time my page communicates with other pages, for example with Google Analytics and other counters. So if I were to update my certificate, this message would still appear because these sites would have SHA-1. So any site with GA gives me trouble.

How can I disable or filter this message?

Answer

Sebastian Zartner picture Sebastian Zartner · Jun 2, 2015

As stated in the Firebug discussion group, Firebug's Console panel currently (Firebug 2.x) cannot filter single messages out. You can only filter by messages matching a specific text using the search field.

There are enhancement requests like issue #4507 reported to add such a filter, though it is unlikely that this will get implemented in Firebug, especially not in version 2.x, directly.

Firebug 3 will integrate into the built-in DevTools, which allow you to filter those warnings by unchecking Warnings within the Security menu inside the Console panel:

Disable security warnings within the *Console* panel of the built-in DevTools

Besides that I created bug 1170476 asking to reduce the messages to a minimum.

Update:

Firebug development is discontinued. Instead, there is a Firebug theme available within the Firefox DevTools starting from Firefox 48. Bug 1170476 is fixed since Firefox 42, so you will only see one message logged with a counter showing how often the message occurred.