Troubleshoot time-related errors on secure websites

Firefox Firefox Last updated: 1 week, 2 days ago 70% of users voted this helpful

Firefox checks the security certificate for secure websites (those with a padlock Fx89Padlock in the address bar) 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 caused by incorrect time settings.
  • Fix your system clock on Windows, macOS, or Linux.
  • Learn why some security errors can't be bypassed.
  • Troubleshoot special cases like live USBs or virtual machines.

Step 1 – Check if your error is time-related

If you see an error page such as “Your Computer Clock is Wrong” or “Warning: Potential Security Risk Ahead”, your system clock may be the cause.

Fx142WarningPotentialSecurityRisk-Clock

How to confirm:

  1. On the error page, click Advanced…
  2. Look for one of these error codes:
    • SEC_ERROR_EXPIRED_CERTIFICATE
    • SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE
    • SEC_ERROR_OCSP_FUTURE_RESPONSE
    • SEC_ERROR_OCSP_OLD_RESPONSE
    • MOZILLA_PKIX_ERROR_NOT_YET_VALID_CERTIFICATE
    • MOZILLA_PKIX_ERROR_NOT_YET_VALID_ISSUER_CERTIFICATE
Tip: The error page may also show the time Firefox detects on your system—compare it to your local time.

Fx67YourComputerClockIsWrongComputer time wrong Mac

Step 2 – Set your system clock to the correct time

  1. Click the Windows Start Windows10StartButton button or press the Windows Key key.
  2. Type Date in the search bar.
  3. Select Date and time settings.
  4. Click Sync now to update from an internet timeserver.
  5. Make sure your time zone matches your location.

If Sync now is disabled or fails:

  • Turn off Set time automatically.
  • Set the date, time, and time zone manually.

timewindows11

  1. Click the Windows Start Windows10StartButton button or press the Windows key Windows Key.
  2. In the Start menu, select Settings.
  3. In Settings, select Time & language.
  4. Go to Date & time.
  5. Below Change date and time, click Change.
    • You can also expand the Time zone dropdown menu.
      If your system is set to manage the time and time zone automatically, you cannot make manual changes.
  6. If you are done with your changes, close the Settings window.
  1. From the Start Screen, click the Desktop tile.
  2. Select Control Panel from the Settings.
    Control Panel - Win8
  3. Click on Clock, Language, and Region and then Date and Time.
  4. Click the Change date and time or Change time zone button.
  5. To confirm your changes, click OK.
  1. Click the Windows Start button or press the Windows key Windows Key.
  2. Click Control Panel.
    Control Panel - Win7
  3. Click on Clock, Language, and Region and then Date and Time.
  4. Click the Change date and time or Change time zone button.
  5. To confirm your changes, click OK.
  1. Click the Apple menu and select System Preferences.
  2. In the System Preferences window, click Date & Time.
  3. Disable Set date and time automatically.
  4. Manually enter the date and time.
  5. Click Save to confirm your changes.

Special cases – live USB, virtual machines, dual-boot systems

If you use a live USB, virtual machine, or dual-boot system, your time may reset each time you start the OS. Set it manually every session or configure automatic time sync.

Step 3 – If the problem isn’t your system clock

If your time and time zone are correct, the website’s security certificate may be expired or been misconfigured.

Contact the website owner

If you know the site administrator, let them know the certificate is expired or 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

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More