Disable Invalid SSL Warnings in Firefox
In this article
This guide shows you how to disable the invalid SSL certificate warnings in Firefox, which appear when a website's security certificate is expired, self-signed, or mismatched. Doing this lets you visit sites that would otherwise be blocked, but it reduces your security—use it only for trusted sites or testing. You'll need Firefox installed and the ability to edit advanced settings.
What You'll Need
- Firefox browser (any recent version)
- Access to the Firefox configuration page (about:config)
- For some steps, administrator rights on your computer (if you want to apply changes system-wide)
Step-by-Step
- Open Firefox. Make sure you have the browser open and any important tabs saved.
- Type
about:configin the address bar. Press Enter. A warning page may appear saying “This may void your warranty!”—click “Accept the Risk and Continue” to proceed. - Use the search box. At the top of the about:config page, type
security.enterprise_roots.enabled. This preference tells Firefox to trust certificates from your operating system's certificate store. - Toggle the preference to
true. Click the toggle button (or double-click the row) to change it fromfalsetotrue. This makes Firefox trust certificates that Windows, macOS, or Linux already trusts, which can reduce warnings for corporate or custom certificates. - Search for
security.ssl.enable_ocsp_stapling. This preference controls OCSP stapling, which checks certificate revocation. Setting it tofalsecan avoid some warnings caused by OCSP servers being unreachable. - Set it to
false. Click the toggle to change it. This is optional but can help with invalid SSL warnings that stem from revocation check failures. - Search for
security.tls.version.min. This sets the minimum TLS version. If a site uses an older protocol, Firefox may warn. Lowering this can allow older connections, but it's risky—only do this if you know the site is safe. - Change the value to
1. Double-click the row, change the number to 1 (TLS 1.0), and click the checkmark. This allows connections to sites using TLS 1.0, which is outdated and insecure. - Search for
security.ssl.enable_ocsp_requester. This is another OCSP-related setting. Setting it tofalsecan also reduce warnings. - Set it to
false. Toggle it as before. - Restart Firefox. Close and reopen the browser to apply all changes. After restart, try visiting a site that previously gave an invalid SSL warning.
- If warnings persist, consider using a private browsing window. Some settings are overridden in private mode; test there to see if the issue is specific to your profile.
Common Mistakes
- Changing the wrong preference. Many about:config settings look similar. Double-check the exact name before toggling.
- Setting
security.tls.version.mintoo low. Setting it to 0 (SSL 3.0) is extremely dangerous and can break many sites. Stick to 1 if you must change it. - Forgetting to restart Firefox. Changes in about:config often require a full restart to take effect.
- Assuming all warnings go away. Firefox may still show warnings for certificates that are expired or self-signed, even with these settings, because some checks are hardcoded.
Tips
- Only disable warnings for sites you trust. Invalid SSL certificates can mean a site is compromised or impersonating another. Use these settings only for testing or internal tools.
- Use a separate profile for risky browsing. Create a new Firefox profile (via about:profiles) and apply these changes only to that profile, keeping your main profile secure.
- Consider adding an exception instead. For a single site, click “Advanced” on the warning page and then “Accept the Risk and Continue” to add a one-time exception. This is safer than disabling warnings globally.
- Keep a backup of your settings. Note the original values of any preferences you change so you can revert if needed.
Troubleshooting
If the steps above don't stop the warnings, try the following:
- Check if the site's certificate is actually invalid. Use an online SSL checker (like SSL Labs) to see the exact reason for the warning. If the certificate is expired, no browser setting will bypass it—only the site owner can fix it.
- Reset the preferences. Return to about:config, right-click each changed preference, and choose “Reset” to restore defaults. Then try a different combination.
- Clear your Firefox cache and cookies. Sometimes stale cached data can cause certificate errors. Go to Settings > Privacy & Security > Cookies and Site Data, and clear them.
- Check your system date and time. An incorrect clock can make certificates appear invalid. Ensure your OS time is synchronized.
- Disable antivirus or firewall temporarily. Some security software intercepts SSL connections and causes warnings. If disabling it helps, configure it to trust Firefox or exclude the site.
- Use a fresh Firefox profile. If nothing works, create a new profile and test there. If the warning disappears, your original profile has a corrupted setting or extension.
Frequently Asked Questions
Will these changes make Firefox completely ignore all SSL errors?
No. These settings reduce some warnings, but Firefox will still block sites with certificates that are expired, self-signed, or have a hostname mismatch. There is no built-in way to disable all SSL error pages completely.
Is it safe to disable invalid SSL warnings?
It is not recommended for everyday browsing. Invalid certificates can indicate a man-in-the-middle attack or a compromised site. Only do this for trusted internal tools or testing environments.
Can I disable warnings for just one site?
Yes. When you see the warning page, click “Advanced” and then “Accept the Risk and Continue”. Firefox will remember this exception for that site (until you remove it in Settings > Privacy & Security > Certificates).
Why do I still see warnings after changing about:config?
Some certificate errors are enforced by Firefox's internal security checks that cannot be overridden via preferences. Also, some settings require a restart to take effect.
Will these settings affect other browsers?
No. about:config changes only affect Firefox. Other browsers have their own certificate settings.
How do I revert to default SSL settings?
Go to about:config, right-click each preference you changed, and select “Reset”. Restart Firefox to restore default behavior.