Comparer les révisions
Secure connection and security warning error pages in Firefox
Révision 289728 :
Révision 289728 par AliceWyman le
Révision 302975 :
Révision 302975 par aparise le
Mots-clés :
Résumé des résultats de recherche :
If a website requires a secure connection that cannot be established, Firefox will not connect and will show you an error page. Learn more.
If a website requires a secure connection that cannot be established, Firefox will not connect and will show you an error page. Learn more.
Contenu :
This article explains why you may see a '''Secure Connection Failed''' or a '''Did Not Connect: Potential Security Issue''' error page, and what you can do.
*If you see a '''Warning: Potential Security Risk Ahead''' error page, see [[What do the security warning codes mean?]] and [[How to troubleshoot security error codes on secure websites]].
* To troubleshoot other error messages, see [[Websites don't load - troubleshoot and fix error messages]].
__TOC__
= Secure connection cannot be established =
When a website that requires a secure ([https://wikipedia.org/wiki/HTTPS HTTPS]) connection tries to secure communication with your computer, Firefox cross-checks this attempt to make sure that the [[Secure website certificate|website certificate]] and the connection method are actually secure. If Firefox cannot establish a secure connection, it will display a ''Secure Connection Failed'' or ''Did Not Connect: Potential Security Issue'' error page.
== Secure Connection Failed ==
A ''Secure Connection Failed'' error page will include a description of the error and a {button Try Again} button. There is no option to add a security exception to bypass this type of error.
[[Image:Fx97SecureConnectionFailed]]
The error page will also include the following information:
* ''The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.''
* ''Please contact the website owners to inform them of this problem.''
== Did Not Connect: Potential Security Issue ==
Certain secure connection failures will result in a ''Did Not Connect: Potential Security Issue'' error page.
[[Image:Fx97SecError-DidNotConnect]]
The error page will include a description of the potential security threat and an {button Advanced…} button to view the error code and other technical details. There is no option to add a security exception to visit the website.
= Website issues =
==TLS version unsupported==
Some websites try using outdated (no longer secure) [http://wikipedia.org/wiki/Transport_Layer_Security Transport Layer Security] (TLS) mechanisms in an attempt to secure your connection. Firefox protects you by preventing navigation to such sites if there is a problem in securely establishing a connection.<!-- See https://support.mozilla.org/en-US/kb/what-does-your-connection-is-not-secure-mean/discuss/6480#post-13160 --> Contact the owners of the website and ask them to update their TLS version to a version that is still current and secure.
The minimum TLS version allowed by default is TLS 1.2. Websites that don't support TLS version 1.2 or higher will display a ''Secure Connection Failed'' error page with a ''SSL_ERROR_UNSUPPORTED_VERSION'' error code and a message that says: ''This website might not support the TLS 1.2 protocol, which is the minimum version supported by Firefox.'' For more information, see [https://hacks.mozilla.org/2020/02/its-the-boot-for-tls-1-0-and-tls-1-1/ this Mozilla blog post] and [https://developer.mozilla.org/docs/Web/Security/Transport_Layer_Security Transport Layer Security (MDN Web Docs)].
[[Image:Fx97SecureConnectionFailed-TLS]]
==HSTS required==
Other websites may require [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security#Description HTTP Strict Transport Security] (HSTS) and will not allow access with an insecure connection.
= Security software conflict =
Many security products use a feature that intercepts secure connections by default. This can produce connection errors or warnings on secure websites. If you see secure connection errors on multiple secure websites, updating your security product or modifying its settings may resolve the issue. See [[How to troubleshoot security error codes on secure websites#w_antivirus-products|this article section on Antivirus products]] for help with specific security products that can produce these errors, such as [https://www.avast.com Avast], [https://www.avg.com AVG] and [https://www.eset.com ESET] software.
{for win10,win11}Alternatively, you can uninstall third-party security software and use [https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/microsoft-defender-antivirus-windows?view=o365-worldwide Windows Defender], the built-in antivirus for Windows operating systems.{/for}
<!-- commented out based on https://bugzilla.mozilla.org/show_bug.cgi?id=1468892#c50 -->
<!-- Another workaround is to set Firefox not to try TLS 1.3:
# [[T:aboutconfig]]
# In the search box above the list, type or paste '''TLS''' and pause while the list is filtered.
# Double-click the {pref security.tls.version.max} preference to display a dialog where you can modify the value from '''4''' to '''3''' (or, in other words, from TLS 1.3 to TLS 1.2) and then click OK.-->
= Incorrect system clock =
Firefox uses certificates on secure websites to ensure that your information is being sent to the intended recipient and can't be read by eavesdroppers. An incorrect system date can cause Firefox to detect that the website's security certificate is expired or invalid. Make sure your computer is set to the correct date, time and time zone. For more information, see [[How to troubleshoot time related errors on secure websites]].
= Other secure connection issues =
*[[Certificate contains the same serial number as another certificate]].<br>Error code: SEC_ERROR_REUSED_ISSUER_AND_SERIAL
For a list and brief description of other secure connection errors, see [https://web.archive.org/web/20221201202220/https://firefox-source-docs.mozilla.org/security/nss/legacy/ssl_functions/sslerr/index.html NSS and SSL Error Codes] in Firefox documentation.
When Firefox can’t connect to a website securely, you may see a '''Secure Connection Failed''' or '''Warning: Potential Security Risk Ahead''' message. This usually means:
* Firefox can’t verify the site’s security certificate, or
* Something on your computer or network is blocking or replacing the secure connection.
This article shows you how to find your error code, understand what it means, and fix it.
__TOC__
== Find your error code ==
Your error code tells you exactly what type of secure connection problem you have. When you see a page like this, Firefox has blocked the site because it detected a possible security problem.
[[Image:secureconnectionerror]]
# Click the '''Advanced…''' button on the warning page.
# Find the '''Error code''' text, similar to the following: `SEC_ERROR_…`, `SSL_ERROR_…`, or `MOZILLA_PKIX_ERROR_…`.
# Write down the code and match it to the table below.
{| class="wikitable"
! Error code
! What it means
! How to fix
|-
| <span id="SEC_ERROR_EXPIRED_CERTIFICATE"></span>'''SEC_ERROR_EXPIRED_CERTIFICATE'''
| The site’s security certificate has expired.
| Check your device’s date/time. If it’s correct, the issue is with the site’s certificate and you’ll need to contact the site owner.
|-
| <span id="SEC_ERROR_UNKNOWN_ISSUER"></span>'''SEC_ERROR_UNKNOWN_ISSUER'''
| Firefox doesn’t trust the certificate issuer (often antivirus SSL scanning or corporate proxies).
| Turn off antivirus SSL scanning or contact your IT department.
|-
| <span id="MOZILLA_PKIX_ERROR_MITM_DETECTED"></span>'''MOZILLA_PKIX_ERROR_MITM_DETECTED'''
| Firefox detected a '''man-in-the-middle''' interception (antivirus, firewall, or proxy).
| Disable HTTPS scanning in antivirus. Try another network.
|-
| <span id="SSL_ERROR_BAD_CERT_DOMAIN"></span>'''SSL_ERROR_BAD_CERT_DOMAIN'''
| The certificate is for a different site.
| Check the address. If correct, the site owner must fix the certificate.
|-
| <span id="PR_END_OF_FILE_ERROR"></span>'''PR_END_OF_FILE_ERROR'''
| The secure connection was closed unexpectedly.
| Try disabling VPN/firewall temporarily or switching networks.
|}
== Check if the website is down ==
If a website won’t load in Firefox, it might be a problem on the site’s end.
* Try opening the same site in another browser.
* If it doesn’t load there either, the website is likely experiencing issues.
== Verify your computer’s date and time ==
An incorrect clock or time zone can make valid security certificates look expired or invalid.
Make sure your device’s date, time, and time zone are correct.
* [https://support.microsoft.com/en-us/windows/set-time-automatically-in-windows How to set the time in Windows]
* [https://support.apple.com/guide/mac-help/change-date-time-mac-mchlp2996/mac How to set the time in macOS]
{note}For more information, see [[How to troubleshoot time related errors on secure websites]].{/note}
== Temporarily disable antivirus SSL scanning ==
Some antivirus programs scan secure connections and replace the website’s certificate with their own, which can cause Firefox to block the site.
{warning}Only do this if you trust the site.{/warning}
# Open your antivirus software.
# Look for an SSL or HTTPS scanning option.
# Turn it off, reload the site, and then turn it back on afterward.
== Check firewall, proxy, or VPN settings ==
Corporate or school networks may block certain certificates.
# Try disconnecting from your VPN or switching networks.
# If you are on a managed network, contact your IT department.
# Try opening another trusted website. If that works, the problem is likely with the original site.
== Clear cached certificates in Firefox ==
If Firefox has saved an outdated or untrusted certificate, removing it may fix the error.
# Click the Firefox menu [[Image:IG main menu]] and select '''Settings'''.
# Go to the '''Privacy & Security''' panel.
# Scroll down to the '''Certificates''' section and click '''View Certificates…'''.
# Select any untrusted or outdated site certificates and click '''Delete or distrust…'''.
== Related articles ==
* [[Websites look wrong or appear differently than they should]]
* [[How to troubleshoot time related errors on secure websites]]