Firefox checks a website’s security certificate to ensure the site is legitimate and that your connection is encrypted. If the certificate can’t be validated, Firefox will stop the connection and display a "Warning: Potential Security Risk Ahead" page.
This article explains what the most common related error codes mean—SEC_ERROR_UNKNOWN_ISSUER, MOZILLA_PKIX_ERROR_MITM_DETECTED, and ERROR_SELF_SIGNED_CERT—and how to troubleshoot them.
Table of Contents
Understand the error code
- On the warning page, click .
- Check the error code displayed.
- If you see:
- SEC_ERROR_UNKNOWN_ISSUER or MOZILLA_PKIX_ERROR_MITM_DETECTED: The certificate was issued by an untrusted authority.
- ERROR_SELF_SIGNED_CERT: The site is using a self-signed certificate.
If the error occurs on multiple secure sites
This usually means something on your device or network is intercepting secure connections and replacing website certificates. Common causes:
- Antivirus software scans encrypted connections
- Corporate network monitoring tools
- Malware
Check your antivirus settings
Avast/AVG
- Open the Avast or AVG dashboard.
- Go to → → → .
- Under
- In older versions of the product you'll find the corresponding option when you go to > > and click next to .
, uncheck .
- Confirm and restart Firefox.
Bitdefender
- Open the Bitdefender dashboard.
- Go to → → .
- Toggle off the Encrypted Web Scan setting.
- In older versions of the product you can find the corresponding option labelled Scan SSL when you go to > .
For corporate Bitdefender products, please refer to this Bitdefender Support Center page.</div>
Bullguard
- Open the Bullguard dashboard.
- Go to Advanced → . →
- In the safe section, uncheck the option for those websites that are showing errors.
ESET
Follow the steps in ESET’s support article to disable and re-enable SSL/TLS protocol filtering.
Kaspersky
- Open the Kaspersky dashboard.
- Go to → → .
- In the Do not scan encrypted connections. , select
- Restart your system.
Check for corporate network interception
If you’re on a work network, your IT department may need to add the interception certificate to Firefox’s trust store. See CA:AddRootToFirefox for instructions.
Scan for malware
Some malware can intercept secure connections. See Troubleshoot Firefox issues caused by malware.
If the error occurs on one site only
Likely causes:
- Server misconfiguration
- Missing intermediate certificate
- Self-signed certificate
If the site belongs to you, test it using SSL Labs and correct any “Chain issues: Incomplete” results.
When you can’t bypass the warning
You won’t see Accept the Risk and Continue if:
- The site uses HTTP Strict Transport Security (HSTS)
- The certificate has certain critical errors
- Your Firefox is managed by an enterprise policy that disables bypasses
For major sites (banks, email providers), bypassing is never allowed because it could indicate your connection is compromised.
About permanent exceptions
Firefox does not allow permanent certificate exceptions for most sites, especially on the public internet. For local network sites (LAN), the safest approach is to:
- Install a valid certificate from a trusted authority
- Or manually add your server’s certificate to Firefox’s certificate store
Bypass the warning (when available)
If Firefox allows it:
- On the warning page, click .
- Click .