Troubleshoot time-related errors on secure websites

Firefox Firefox Last updated: 15 hours ago 50% of users voted this helpful

Firefox checks a 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.

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:

  1. On the error page, Advanced…
  2. Look for one of these 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 display the time Firefox detects on your system—compare it to the current time in your location.

Fx67YourComputerClockIsWrong Computer time wrong Mac

Step 2 – Set your system clock to the correct time

  1. Click the Windows Start 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 time server.
  5. Make sure your time zone matches your location.

If Sync now is disabled or fails:

  • Turn off Set time automatically.
  • Manually set the correct date, time, and time zone.

timewindows11

  1. Click the Windows Start 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 on Change
    • Youy 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 on 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 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

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