Fix: SSL_ERROR_BAD_MAC_ALERT on Firefox

This article will show you how to fix SSL_ERROR_BAD_MAC_ALERT on Firefox browser while browsing to your site of choice.

Kapil Arya
11x Microsoft MVP · Admin
2 min read
Add as a preferred
source on Google

If you are using Mozilla Firefox as your primary browser, and you are facing the SSL error then this article will surely help you. Recently, while browsing the web using Mozilla Firefox when I tried to access a website, there occurred the SSL_ERROR_BAD_MAC_ALERT error. You can check out the screenshot of this error as shown below.

Fix SSL_ERROR_BAD_MAC_ALERT on Firefox

If you are also facing the same problem on your system, this article will show you how you can fix it. According to Mozilla Firefox forums, this could be a problem with the TLS 1.3 Early Data feature also known as Zero Round Trip Time Resumption (0rtt). When this error appears, you won’t be able to access the web page even if you try to load the page. So the question comes out at how you can fix this problem? Well, you can try below mentioned solutions.

Fix: SSL_ERROR_BAD_MAC_ALERT on Firefox

FIX 1 – Modify List of Insecure FallBack Hosts

  1. Open Mozilla Firefox browser, type about:config  in URL bar and press Enter to open up the Advanced Preferences menu.
  2. After this, you will see the Proceed with Caution prompt, click on Accept the Risk and Continue.
  3. Now in the Advanced Preferences menu, paste security.tls.insecure_fallback_hosts into the Search preference name and press Enter key.
  4. Under results, click on the Edit icon next to security.tls.insecure_fallback_hosts.
  5. In the text box, enter the website URL that you’re facing the issue with and hit Enter.
  6. Now restart Mozilla Firefox browser and see if the issue is resolved.

Fix SSL_ERROR_BAD_MAC_ALERT on Firefox

FIX 2 – Disable TLS 1.3 Early Data

  1. Open Mozilla Firefox browser.
  2. Go to Advanced Preferences menu using about:config command.
  3. Click on Accept the Risk and Continue.
  4. Search for security.tls.enable_0rtt_data. As you’re facing this problem, it must have been set to True.
  5. Click on the toggle button there and set it to False.
  6. Finally, restart the browser.

Fix SSL_ERROR_BAD_MAC_ALERT on Firefox

Hope this helps!

Share this article
https://www.kapilarya.com/fix-ssl-error-bad-mac-alert-on-firefox

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

Leave a Comment

Your email address will not be published. Required fields are marked *