EasyAbout 10 minutesBoth

The certificate date error

How do I fix NET::ERR_CERT_DATE_INVALID on my laptop?

CF

Written by The CommonFixes team · fact checked by CommonFixes review desk

Last updated

Short answer

Every secure website carries a certificate that is only valid between two dates. Your browser compares those dates with your computer's own clock. If the clock is wrong, even by a day, the browser decides the certificate has expired or is not valid yet and blocks the page. The clock usually drifts because the small battery on the motherboard has died, the time zone is wrong, or the machine has been off long enough to lose sync. Now and then the site really has let its certificate lapse, and then the fault is theirs. The quickest thing to try first: look at your clock first — Check the date and time in the corner of the screen. If either is wrong, that is your answer. Open Settings, Time and language, Date and time, turn Set time automatically off and back on, then press Sync now. Make sure the time zone is right too, because a wrong zone can push you outside a certificate's window. Most people are done in about 10 minutes.

Full walkthrough below: 7 steps for Windows and Mac, rated easy.

Sounds like this

  • Chrome or Edge shows Your connection is not private with the code NET::ERR_CERT_DATE_INVALID
  • It happens on well known sites such as Google or your bank
  • It started after the laptop had been switched off for a while

Why it happens

Every secure website carries a certificate that is only valid between two dates. Your browser compares those dates with your computer's own clock. If the clock is wrong, even by a day, the browser decides the certificate has expired or is not valid yet and blocks the page. The clock usually drifts because the small battery on the motherboard has died, the time zone is wrong, or the machine has been off long enough to lose sync. Now and then the site really has let its certificate lapse, and then the fault is theirs.

Work through these in order

0% done
  1. 1

    Look at your clock first

    Check the date and time in the corner of the screen. If either is wrong, that is your answer. Open Settings, Time and language, Date and time, turn Set time automatically off and back on, then press Sync now. Make sure the time zone is right too, because a wrong zone can push you outside a certificate's window.

  2. 2

    Confirm the site is not the one at fault

    Open the same page on your phone using mobile data rather than your home Wi-Fi. If the phone loads it fine, the problem is on your laptop. If the phone shows the same warning, the site's certificate really has expired and there is nothing you can fix; wait for them to renew it.

  3. 3

    Replace the motherboard battery if the clock keeps resetting

    If the date jumps back to something like 2016 every time you shut down, the coin cell that keeps time is flat. On a desktop it is a CR2032 you can change yourself in five minutes with the machine unplugged. On most laptops it sits under the keyboard or the base panel, so a repair shop is the sensible route. Until it is changed, pressing Sync now after each start keeps you working.

  4. 4

    Clear the browser's stored certificate state

    In Chrome or Edge press Control, Shift and Delete together, choose All time, tick Cached images and files and Cookies, and clear them. Then close the browser completely and open it again. Browsers hold on to a bad certificate result for a while even after you fix the clock.

  5. 5

    Try the page in a private window

    Press Control, Shift and N for a new incognito window and load the site. If it works there, an extension is interfering. Turn extensions off one by one from the browser menu, Extensions. Ad blockers and anything that inspects secure traffic are the usual ones.

  6. 6

    Check your antivirus is not inspecting secure traffic

    Avast, AVG, Kaspersky and ESET can sit between you and the website and re-sign certificates. In the antivirus settings, look for HTTPS scanning, SSL scanning or Encrypted connections scanning and turn it off, then reload the page. If that fixes it, leave it off; Windows Defender does the job without breaking certificates.

  7. 7

    Set the clock on a Mac

    System Settings, General, Date and Time, switch Set time and date automatically off and on, and pick the right time zone. If it will not sync, change the time server to time.apple.com and try again.

If none of that worked

Never click through the warning to visit the site anyway on anything involving money or a password. If every site fails and the clock is correct, run a scan with Malwarebytes, because some adware installs its own root certificate to read your traffic.

Did this fix work for you?

A quick thumbs up helps other readers find the guides that actually work.

Share this fix

Related fixes worth reading

Chosen automatically from the 157 guides on CommonFixes, based on how closely they match this problem.

Still not it? Browse every fix or see more in browsers and websites.

Who wrote this and how we checked it

CF

The CommonFixes team

Writer and researcher

We are a small group of people who spend our days repairing laptops and desktops for family, friends and small offices. Every guide here starts with a problem someone actually brought to us, and we only write down the steps that put the machine right.

  • Everyday repairs
  • Windows and Mac
  • Plain language
RD

CommonFixes review desk

Technical editor

Before a guide goes live, a second person walks through it on a real machine and checks each instruction against the maker's own support pages. Anything we cannot confirm is removed rather than guessed at.

  • Fact checking
  • Safety warnings
  • Source links

This guide was last updated on 10 August 2026. If a step no longer matches what you see on screen, tell us on the contact page and we will test it again.

A gentle reminder: back up anything you cannot afford to lose before major repairs. If a step ever feels risky, stop and ask a technician. There is no shame in that.