Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to disable/remove the "Add Exception..." button in Firefox to prevent users to accept invalid SSL certificates.

SSL certificate error

How can I achieve this? Google does not show up any useful results.

share|improve this question
up vote 2 down vote accepted

Well, there's no specific way to do this. But you can disable completely the "Bad Certificate" page, and replace it for an alert box. This also disable all error pages. Go to about:config and look for the browser.xul.error_pages.enabled key, set it to false. Now each error page is disable and replaced by an error box.

Another solution to make more difficult to the users, is changing the Add Exception behavior, setting the key browser.ssl_override_behavior to 0. This will not populate the url in the dialog box, nor prefetch the certificate.


share|improve this answer
Great tip disabling the error page! I was also looking for such feature and the only thing I had found was browser.ssl_override_behavior. Do you know a way to disable permanent exceptions but allow temporary exceptions? – CDuv Nov 2 '15 at 9:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .