- If you see the error message Your connection is not secure, see the article What do the security warning codes mean?.
This article describes why the This Connection Is Untrusted error message may appear when trying to visit secure (https) websites in Firefox.
- For troubleshooting secure connection problems with the error message Secure Connection Failed, see the Secure connection failed and Firefox did not connect article.
- For troubleshooting other error messages, see Websites don't load - troubleshoot and fix error messages.
Table of Contents
- 1 Certificates and identification
- 2 Get out of there!
- 3 Technical information
- 3.1 The certificate will not be valid until (date)
- 3.2 The certificate expired on (date)
- 3.3 The certificate is not trusted because the issuer certificate is unknown
- 3.4 The certificate is not trusted because it is self-signed
- 3.5 The certificate is only valid for (site name)
- 3.6 Corrupted certificate store
- 4 Bypassing the warning
Certificates and identification
When you visit a website whose web address starts with https, your communication with the site is encrypted to help ensure your privacy. Before starting the encrypted communication, the website will present Firefox with a "certificate" to identify itself.
The certificate helps Firefox determine whether the site you're visiting is actually the site that it claims to be. If there is a problem with the certificate, you will see the This Connection Is Untrusted alert page.
Seeing the alert does not necessarily mean that the website you're visiting is trying to trick you into believing it is a different website - it means that Firefox isn't able to verify the identity of the website, and that you should proceed carefully.
There are several problems that can cause Firefox to reject a certificate. Some of them are described in detail in the Technical information section below.
Get out of there!
The safest thing to do is to click
, or to go to a different website. Unless you know and understand the technical reason why the website presented incorrect identification, and are willing to risk communicating over a connection that could be vulnerable to an eavesdropper, you should not proceed to the website.If possible, you should contact the owners of the website and inform them of the error.
Technical information
Click on Technical Details for more information on why the website's identity information is invalid. Some common errors are described below.
The certificate will not be valid until (date)
Error code: SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE
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.
The certificate expired on (date)
Error code: SEC_ERROR_EXPIRED_CERTIFICATE
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.
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.
Error code: SEC_ERROR_UNKNOWN_ISSUER
You may have enabled SSL scanning in your security software such as Avast, Bitdefender, ESET or Kaspersky. Try to disable this option. More details about this 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?.
The certificate is not trusted because it is self-signed
Error code: SEC_ERROR_UNKNOWN_ISSUER
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.
The certificate is only valid for (site name)
The certificate is only valid for the following names: www.example.com, *.example.com
Error code: SSL_ERROR_BAD_CERT_DOMAIN
This error is telling you that the identification sent to you by the site is actually for another site. While anything you send would be safe from eavesdroppers, the recipient may not be who you think it is.
A common situation is when the certificate is actually for a different part of the same site. For example, you may have visited https://example.com, but the certificate is for https://www.example.com. In this case, if you access https://www.example.com directly, you should not receive the warning.
Corrupted certificate store
You may also see certificate error messages when the file in your profile folder that stores your certificates (cert8.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 directory will open.
Note: If Firefox displays an error after clicking you are unable to open or use Firefox, follow the instructions in or ifFinding your profile without opening Firefox.- 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 cert8.db.
- Press command+Delete.
- Restart Firefox.
- Note:cert8.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. Legitimate public sites will not ask you to add connection rule exceptions - an invalid certificate can be an indication of a web page that will defraud you or steal your identity.
- On the warning page, click I Understand the Risks.
- Click . The Add Security Exception dialog will appear.
- Read the text describing the problems with this site.
- Click if you want to trust the site.