Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 0 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.

Reference:

http://kb.mozillazine.org/Browser.xul.error_pages.expert_bad_cert

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.