When Firefox connects to a secure website (the URL begins with HTTPS), it must verify that the certificate presented by the website is valid and that the encryption is strong enough to adequately protect your privacy. If it is unable to verify this, Firefox stops connecting to the site and will show you an error page with the message, Warning: Potential Security Risk Ahead.
Click the
button to view the error code and other information about the error. Common errors are described in this article.Table of Contents
- 1 What to do if you see these errors?
- 2 MOZILLA_PKIX_ERROR _ADDITIONAL_POLICY_CONSTRAINT_FAILED
- 3 SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE
- 4 SEC_ERROR_EXPIRED_CERTIFICATE
- 5 SEC_ERROR_UNKNOWN_ISSUER
- 6 MOZILLA_PKIX_ERROR_MITM_DETECTED
- 7 ERROR_SELF_SIGNED_CERT
- 8 SSL_ERROR_BAD_CERT_DOMAIN
- 9 SEC_ERROR_OCSP_INVALID_SIGNING_CERT
- 10 Corrupted certificate store
- 11 Bypassing the warning
What to do if you see these errors?
If you see a Warning: Potential Security Risk Ahead message, you may:
- Contact the website owner and ask them to correct their certificate.
- Click , or visit a different website.
- If you are on a corporate network or using antivirus software, reach out to the support teams for assistance.
After viewing the error code and other information about the error, click the
button to load the site at your own risk. This will add a security exception for the website certificate.MOZILLA_PKIX_ERROR _ADDITIONAL_POLICY_CONSTRAINT_FAILED
This error indicates that the website's certificate has not complied with security policies in Mozilla's CA Certificate Program. Most browsers, not just Firefox, do not trust certificates by GeoTrust, RapidSSL, Symantec, Thawte and VeriSign because these certificate authorities failed to follow security practices in the past.
The owners of the website need to work with their certificate authority to correct the policy problem. For more information, see the Mozilla Security Blog post, Distrust of Symantec TLS Certificates.
SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE
The certificate will not be valid until date (...)
The error text will also show the current date and time of your system. In case this is incorrect, set your system clock to today's date and time (double-click the clock icon on the Windows Taskbar) in order to fix the problem. More details about this are available in the support article How to troubleshoot time related errors on secure websites.
SEC_ERROR_EXPIRED_CERTIFICATE
The certificate expired on date (...)
This error occurs when a website's identity certification has expired.
The error text will also show the current date and time of your system. In case this is incorrect, set your system clock to today's date and time (double-click the clock icon on the Windows Taskbar) in order to fix the problem. More details about this are available in the support article How to troubleshoot time related errors on secure websites.
SEC_ERROR_UNKNOWN_ISSUER
The certificate is not trusted because the issuer certificate is unknown.
The server might not be sending the appropriate intermediate certificates.
An additional root certificate may need to be imported.
For more on this error, see the support article How to troubleshoot security error codes on secure websites.
MOZILLA_PKIX_ERROR_MITM_DETECTED
The certificate is not trusted because the issuer certificate is unknown.
The server might not be sending the appropriate intermediate certificates.
An additional root certificate may need to be imported.
MOZILLA_PKIX_ERROR_MITM_DETECTED is a special case of the SEC_ERROR_UNKNOWN_ISSUER error code when a man-in-the-middle attack is detected.
You may have enabled SSL scanning in your security software such as Avast, Bitdefender, ESET or Kaspersky. Try to disable this option. More details are available in the support article How to troubleshoot security error codes on secure websites.
You may also see this error message on major sites like Google, Facebook, YouTube and others on Windows in user accounts protected by Microsoft family settings. To turn these settings off for a particular user, see the Microsoft support article How do I turn off family features?.
ERROR_SELF_SIGNED_CERT
The certificate is not trusted because it is self-signed.
Self-signed certificates make your data safe from eavesdroppers, but say nothing about who the recipient of the data is. This is common for intranet websites that aren't available publicly and you may bypass the warning for such sites. More details are available in the support article How to troubleshoot security error codes on secure websites.
SSL_ERROR_BAD_CERT_DOMAIN
Firefox does not trust this site because it uses a certificate that is not valid for that particular site. Information sent over this site could be at risk, so the best thing for you to do is contact the website owners to correct the problem.
SEC_ERROR_OCSP_INVALID_SIGNING_CERT
The site is not configured correctly and failed a security check. If you visit this site, attackers could try to steal your private information, like passwords, emails or credit card details.
The issue is with the website, and there is nothing you can do to resolve it. You can notify the website’s administrator about the problem.
Corrupted certificate store
You may also see certificate error messages when the file in your profile folder that stores your certificates cert9.db has become corrupted. Try to delete this file while Firefox is closed to regenerate it:
Open your profile folder:
- Click the menu button
, click and select .From the The Troubleshooting Information tab will open. menu, select .
- Under the Application Basics section next to Profile FolderProfile Directory, click . A window will open that contains your profile folder.Your profile folder will open.Your profile folder will open.
Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.- Click the menu button
- Click the Firefox menu
and select .Click the Firefox menu at the top of the screen and select .Click the Firefox menu
and select .
- Click on the file named cert9.db.
- Press command+Delete.
- Restart Firefox.
- Note: cert9.db will be recreated when you restart Firefox. This is normal.
Bypassing the warning
You should only bypass the warning if you're confident in both the identity of the website and the integrity of your connection - even if you trust the site, someone could be tampering with your connection. Data you enter into a site over a weakly encrypted connection can be vulnerable to eavesdroppers as well.
In order to bypass the warning page, click
:- On sites with a weak encryption you will then be shown an option to load the site using outdated security.
- On sites where the certificate cannot be validated, you might be given the option to add an exception.