Wersije přirunać
Troubleshoot time-related errors on secure websites
Wersija 278271:
Wersija 278271 wot wužiwarja lsiebert
Wersija 302961:
Wersija 302961 wot wužiwarja ffloare
Klučowe słowa:
Zjeće pytanskich wuslědkow:
Learn why you might see time-related errors on HTTPS websites and how you can troubleshoot these errors by correcting your system clock.
Learn why you might see time-related errors on HTTPS websites and how you can troubleshoot these errors by correcting your system clock.
Wobsah:
[[Secure website certificate|Secure website certificates]] (those with addresses starting with '''https://''') have a limited validity duration. If your computer's date doesn't align with a website's certificate validity dates, Firefox will display an error, as it can't confirm the site's security.
To resolve this, ensure your computer's date, time, and time zone are accurate. If the issue persists, it might be due to other factors like a server misconfiguration or an outdated certificate.
__TOC__
=List of time-related error codes you may encounter=
{note}'''Note:''' A ''Your Computer Clock is Wrong'' error page almost certainly means that your computer's clock is set to the wrong date. Some time-related errors will show a ''Warning: Potential Security Risk Ahead'' error page, described in [[What do the security warning codes mean?|this article]]. For other time-related errors, you'll get a ''Secure Connection Failed'' or ''Did Not Connect: Potential Security Issue'' error page, described [[Secure connection failed and Firefox did not connect|here]].{/note}
{for win}[[Image:Fx67YourComputerClockIsWrong]]{/for}
{for mac}[[Image:Computer time wrong Mac]]{/for}
<!--L10N, you can get this error message by setting your computer clock back a year, but feel free to use this image if you can't get a screenshot in your language -->
Click {button Advanced…} on the error page to view the error code. One of the following error codes will indicate that the secure connection couldn't be established due to a time-related error:
<sub>SEC_ERROR_EXPIRED_CERTIFICATE</sub><br>
<sub>SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE</sub><br>
<sub>SEC_ERROR_OCSP_FUTURE_RESPONSE</sub><br>
<sub>SEC_ERROR_OCSP_OLD_RESPONSE</sub><br>
<sub>MOZILLA_PKIX_ERROR_NOT_YET_VALID_CERTIFICATE</sub><br>
<sub>MOZILLA_PKIX_ERROR_NOT_YET_VALID_ISSUER_CERTIFICATE</sub>
The text on the error page will warn you when Firefox detects that your system date and time is probably wrong and will also show the date and time currently set in your system. If the clock settings are incorrect you should set it to the right time{for win, mac} as explained below{/for}. Even if the displayed time settings seem to be correct, you should make sure that the time zone settings of your system match your current location.
= Set your system clock to the correct time =
Time-related errors on secure websites caused by a skewed system clock can be resolved by setting your correct date, time and time zone{for mac}:{/for}{for win,linux}.{/for}{for win} Change your date and time settings from the clock on the Windows taskbar or follow these instructions:{/for}
{for win10}
# Click the Windows Start button or press the Windows key {key [[Image:Windows Key]]}.
# In the Start menu, select {menu Settings}.
# In Settings, select {menu Time & language}.
# In the {menu Date & time} section you can review the current date and time settings. To change your settings click on {button Change} below {menu Change date and time} or expand the {menu Time zone} dropdown menu.{note}If your system is set to manage the time and time zone automatically, you cannot make manual changes.{/note}
# If you are done with your changes, close the Settings window.
{/for}
{for win11}
# To adjust your date and time settings in Windows 11, begin by clicking the Windows Start Button or pressing the Windows key {key [[Image:Windows Key]]}.
# Type {menu Date} in the search bar.
# Select {button Date and Time Settings} in the side menu.
# Click {button Sync Now} to sync your computer's time with the time server.
# You could also choose a specific time zone by clicking on {button Time Zone} button and choosing the preferred time zone.
'''If the {button Sync Now} button is grayed out, clicking it shows an error message, or it doesn't resolve the problem, follow these steps:'''
# Toggle the switch next to {menu Set time automatically} if you do have it to disable automatic time setting.
# Click {button Time Zone} and select your preferred time zone.
# If you don't see the {button Time Zone} button and you see the {button Set the date and time manually}, Click {button Set the date and time manually} and a window will open, allowing you to input the correct date and time manually.
# After making the necessary changes, don't forget to click {button Save} to apply your adjustments.
{/for}
{for win8}
# From the Start Screen, click the '''Desktop''' tile. The Desktop view will open.
# From the Desktop, hover in the lower right-hand corner to access the Charms.
# Select {menu Control Panel} from the {menu Settings} charm. The Control Panel window will open.
#:[[Image:Control Panel - Win8]]
# In the Control Panel window, click on '''Clock, Language, and Region''' and then '''Date and Time'''.
# The panel that opens shows the current date and time settings. To change your settings click the {button Change date and time} or {button Change time zone} button.
# To confirm your changes click {button OK}.
{/for}
{for win7}
# Click the Windows Start button or press the Windows key {key [[Image:Windows Key]]}.
# In the Start Menu, click {menu Control Panel}.
#:[[Image:Control Panel - Win7]]
# In the Control Panel window, click on '''Clock, Language, and Region''' and then '''Date and Time'''.
# The panel that opens shows the current date and time settings. To change your settings click the {button Change date and time} or {button Change time zone} button.
# To confirm your changes click {button OK}.
{/for}
{for mac}
# Click the Apple menu and select {menu System Preferences}.
# In the System Preferences window, click on '''Date & Time'''.
# The panel that opens shows the current date and time settings. In order to adjust them, disable {pref Set date and time automatically}, manually enter the date and time and click {button Save} to confirm your changes.
# In order to review your time zone settings, click on the '''Time Zone''' tab. In order to adjust your time zone, disable {pref Set time zone automatically using current location}, click onto your approximate location in the map and select the city closest to you in the dropdown panel.
# If you are done with your changes, close the Date & Time window.
For more information see Apple's [https://support.apple.com/HT203413 If the date or time is wrong on your Mac] article.
{/for}
{note}'''Note:''' If the clock on your device constantly resets after you power it off, this might indicate that the battery cell that runs the real-time clock is getting low or is empty. Please consult your manufacturer's manual on how to replace the CMOS battery.{/note}
= Contact the website owner =
If you get a time-related error on a secure website and you have already checked the correct settings of your system’s clock, please contact the owner of the website which you can’t access and inform them of the problem. The website owner might need to renew the expired certificate, for example.
Firefox checks a [[Secure website certificate|website’s security certificate]] (those with addresses starting with '''https://''') to make sure it’s valid and hasn’t expired. If your computer’s date, time, or time zone is incorrect, Firefox may show a security warning instead of loading the page.
This article helps you:
*Identify if your error is time-related.
*Correct your system clock settings on Windows, macOS, and Linux.
*Understand why some errors can’t be bypassed.
*Address edge cases like live USB systems or virtual machines.
__TOC__
=Step 1 – Check if your error is time-related=
If you see an error page like '''"Your Computer Clock is Wrong"''' or '''"Warning: Potential Security Risk Ahead"''', the issue may be your system clock.
How to confirm:
#On the error page, {button Advanced…}
#Look for one of these codes:
#*<sub>SEC_ERROR_EXPIRED_CERTIFICATE</sub>
#*<sub>SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE</sub>
#*<sub>SEC_ERROR_OCSP_FUTURE_RESPONSE</sub>
#*<sub>SEC_ERROR_OCSP_OLD_RESPONSE</sub>
#*<sub>MOZILLA_PKIX_ERROR_NOT_YET_VALID_CERTIFICATE</sub>
#*<sub>MOZILLA_PKIX_ERROR_NOT_YET_VALID_ISSUER_CERTIFICATE</sub>
{note}'''Tip''': The error page may also display the time Firefox detects on your system—compare it to the current time in your location.{/note}
{for win}[[Image:Fx67YourComputerClockIsWrong]]{/for}
{for mac}[[Image:Computer time wrong Mac]]{/for}
<!--L10N, you can get this error message by setting your computer clock back a year, but feel free to use this image if you can't get a screenshot in your language -->
=Step 2 – Set your system clock to the correct time=
{for win11}
#Click the {button Windows Start} button or press the {key [[Image:Windows Key]]} key.
#Type ''Date'' in the search bar.
#Select {menu Date and time settings}.
#Click {button Sync now} to update from an internet time server.
#Make sure your time zone matches your location.
If {button Sync now} is disabled or fails:
*Turn off {button Set time automatically}.
*Manually set the correct date, time, and time zone.
[[Image:timewindows11]]
{/for}
{for win10}
#Click the {button Windows Start} button or press the Windows key {key [[Image:Windows Key]]}.
#In the Start menu, select {menu Settings}.
#In Settings, select {menu Time & language}.
#Go to {menu Date & time}.
#Below {menu Change date and time}, click on {button Change}
#*Youy can also expand the {menu Time zone} dropdown menu.{note}If your system is set to manage the time and time zone automatically, you cannot make manual changes.{/note}
#If you are done with your changes, close the Settings window.
{/for}
{for win8}
#From the Start Screen, click the '''Desktop''' tile.
#Select {menu Control Panel} from the {menu Settings}.
#:[[Image:Control Panel - Win8]]
#Click on '''Clock, Language, and Region''' and then '''Date and Time'''.
#Click the {button Change date and time} or {button Change time zone} button.
# To confirm your changes click {button OK}.
{/for}
{for win7}
#Click the Windows Start button or press the Windows key {key [[Image:Windows Key]]}.
#Click {menu Control Panel}.
#:[[Image:Control Panel - Win7]]
#Click on '''Clock, Language, and Region''' and then '''Date and Time'''.
#Click the {button Change date and time} or {button Change time zone} button.
#To confirm your changes click {button OK}.
{/for}
{for mac}
#Click the Apple menu and select {menu System Preferences}.
#In the System Preferences window, click on '''Date & Time'''.
#Disable {pref Set date and time automatically},
#Manually enter the date and time.
#Click {button Save} to confirm your changes.
{/for}
'''Special cases – live USB, virtual machines, dual-boot systems'''
If you use a live USB or virtual machine, your time may reset every time you start the system. You’ll need to set it manually each session or configure your OS to sync time automatically.
=Step 3 – If the problem isn’t your system clock=
If your time and time zone are correct, the website’s security certificate may have expired or been misconfigured.
==Contact the website owner==
If you know the site administrator, tell them the certificate has expired or is invalid. They may need to renew or fix it.
=Why you can’t always override these errors=
Firefox’s security checks are automated—Firefox doesn’t decide which sites are “safe” based on reputation or government ownership. If a certificate is expired or invalid, Firefox will block the page to protect your privacy and data.
In most cases, these blocks can’t be bypassed for expired certificates because they present real security risks (like allowing attackers to intercept your connection).
=Quick checklist before trying again=
*✅ System date and time are correct.
*✅ Time zone matches your location.
*✅ For live USB/VM users: time sync is configured.
*✅ Website’s certificate isn’t expired (contact site owner if unsure).
=Related articles=
*[[How do I tell if my connection to a website is secure?]]
*[[What do the security warning codes mean?]]
*[[Firefox and other browsers can't load websites]]