This means that something on your system or network is intercepting your connection and injecting certificates. When that happens, Firefox does not trust it. This usually happens when malware tries to replace a legitimate certificate with its certificate. Surprisingly, this also happens with security software. They keep a tab on a secure connection and create a false positive. For example: Similarly, in a corporate network, there might be a monitoring/filtering product which could be replacing certificates. Read: What are Man In The Middle (MITM) attacks?

MOZILLA_PKIX_ERROR_MITM_DETECTED

Multiple users have reported this issue when using the Nightly version of Firefox. If that’s the case, try accessing secure websites with stable build only. Especially, if its related to payments. However, if you are not doing that, here are two solutions you can try.

1] Turn off HTTPS Scanning in your Anit-Virus & Security Software

Every Security based software has a Security option. It allows you to turn off HTTPS scanning functionality. They are available under different names. I have mentioned a few of them below:

HTTPS ScanningScan SSLShow safe resultDo not scan encrypted connections

Make sure to find what is applicable for your security software by visiting their help section.

2] Disable security.enterprise_roots.enabled

You can also disable HTTPS certificate check on Firefox. Again, not recommended, but do it if you have to do it.

Type about: config in the Firefox address bar, and hit enter.Confirm the info message in case it shows up.Search for the preference security.enterprise_roots.enabled.When you find it, double-click it and change its value to true and restart firefox once

This will import all custom certificates from any other security software into Firefox. This, in turn, will make sure to mark those sources as trusted, and it will not throw any error. Let us know this helped you to fix MOZILLA_PKIX_ERROR_MITM_DETECTED with multiple HTTPs websites.

Fix MOZILLA PKIX ERROR MITM DETECTED error on Firefox - 52Fix MOZILLA PKIX ERROR MITM DETECTED error on Firefox - 37