NET::ERR_CERT_DATE_INVALID: Expired Certificate or Wrong Clock?

Short answer
What is the NET ERR CERT DATE INVALID (NET::ERR_CERT_DATE_INVALID) error?
NET ERR CERT DATE INVALID, written in code as NET::ERR_CERT_DATE_INVALID, is a browser security error that appears when the dates in a site's SSL certificate do not match your device's clock. Either the certificate has truly expired, or your device's date and time are wrong. You can tell which one in about a minute.
We wrote this guide for two readers. The first is a visitor who tries to open a site and lands on a "Your connection is not private" screen. The second is a site owner who hears from a customer that the site shows this error. Because the two sides need completely different fixes, we split the sections. First you find out whose problem it is; then you apply the lasting fix.
At Talha Aslan and team, we rarely see a technical disaster behind certificate errors. Most of the time, someone forgot a renewal or a device clock drifted. In other words, there is no need to panic, but you do need the right diagnosis.
The error page usually shows a "connection is not private" heading with the code in small letters below. Some browsers also show a similar notice that says your clock is behind or ahead. Since screen texts change by browser and version, we focus on the code itself and the date check behind it. If the code is the same, the logic of the fix is the same.
Who should fix NET ERR CERT DATE INVALID: the visitor or the site owner?
Start here, because looking for a fix on the wrong side wastes hours. So run a simple test: open the same site on another device and another internet connection. For example, if your laptop shows the error, try your phone on mobile data.
- If only your device shows the error, your clock is the likely cause, and the fix is yours.
- If every device shows it for everyone, the certificate has expired, and the fix belongs to the site owner.
- When many different sites fail at once, suspect your device again; when only one site fails, suspect that site.
To see the certificate's end date from outside, enter the domain in our SSL checker. The tool shows the validity window. If the end date has passed, the site is the problem. If the date is still ahead and only you see the error, check your device.
How does the certificate date check actually work?
First, every SSL/TLS certificate carries two dates: the moment validity begins and the moment it ends. RFC 5280, the standard that defines these certificates, calls the fields notBefore and notAfter. It defines the validity period as the time from notBefore through notAfter, inclusive.
When your browser connects, it receives the certificate and compares your device's current time with that window. If the time falls outside it, the browser refuses to treat the connection as secure and shows NET::ERR_CERT_DATE_INVALID. Therefore, the browser takes "the correct time" from your device, not from the internet.
That is why two different situations produce the same error. If the certificate expired yesterday, everyone sees the error. On the other hand, if the certificate is valid but your device shows a date two years ago, the browser treats the certificate as "not yet valid" and shows the same error. The name is the same; the fix is completely different.
Also, this check runs in server-to-server connections too. For example, background jobs that connect your site to a payment or shipping service can fail with a similar date error when your server clock drifts. So syncing the server clock with network time belongs on every site owner's checklist.
Which symptom points to which cause?
This diagnosis table maps what you see with NET::ERR_CERT_DATE_INVALID to the most likely cause and a first step.
| Symptom | Likely cause | Who fixes it | First step |
|---|---|---|---|
| Certificate errors on every site | Device date or time is wrong | Visitor | Set date and time to automatic |
| One site, for everyone | Certificate expired | Site owner | Renew the certificate |
| One site, only for you | Cache, old computer, or network device | Visitor | Check clock, browser, and network |
| Renewed, but the error stays | Server still serves the old certificate | Site owner | Reload the web server |
| Root domain works, www fails | Certificate does not cover all names | Site owner | Add the missing name |
| Started after a dead battery | Device clock reset | Visitor | Sync the clock |
| Only on the office network | Security appliance in the middle | Network admin | Check the appliance's certificate |
When you use the table, focus on the "who fixes it" column first. That way you either work on your own device or reach the site owner with the right information.
How do you fix NET::ERR_CERT_DATE_INVALID as a visitor?
If only you see the error, follow this order. Reload the page after each step; in most cases, the first step is enough.
- Check your device's date, time, and time zone. Turn on the "set automatically" option in settings.
- Close the browser completely and reopen it. Open tabs can hold old connection data.
- Update the browser and operating system. Very old versions may not recognize current certificate chains.
- Try the same address in a private window, since an extension may interfere with the connection.
- Try another network, such as mobile data. Office security appliances can replace certificates.
- If the error continues and shows on other devices too, tell the site owner.
However, menu names vary by device and version. So we do not give exact paths here; look for the "date and time" section in your device's settings app.
Why does a device clock go wrong by itself?
In general, modern devices pull the time from the internet, but that does not always work. These are the causes we see most:
- The motherboard battery has died, so the computer returns to an old date at every boot.
- Someone turned off automatic time and typed the wrong time by hand.
- The time zone is wrong, which causes a one-day shift near midnight.
- The device stayed off for a long time and has not synced yet.
- Someone moved the date back on purpose to extend a software trial.
Also, the battery issue is especially sneaky. You fix the clock, the error goes away, and it comes back the next morning. If you see that loop, the hardware is the problem, not the setting. Likewise, an old computer that you turn on after years can show the same picture.
After you fix the clock, confirm that the device really pulls network time. Toggle the automatic setting off and on, then compare the clock with your phone after a few minutes. If the gap remains, a security setting or company policy may block the time server.
Can phones and tablets show this error too?
Yes, and on mobile devices the cause is usually the date and time setting. For example, after a trip abroad, the time zone may stay wrong, or an app may have turned off automatic time. First, check that date and time come from the network.
Then try these steps:
- Restart the device, because it usually syncs with network time at startup.
- Install any pending system update, since old versions may not trust current root certificates.
- Open the site in a different browser app.
- Switch between Wi-Fi and mobile data and compare the results.
Finally, very old phones and tablets are a separate case. If the maker no longer ships updates, the device may not recognize newer certificate chains, and many sites will show security warnings. In that case, the only lasting fix is an updatable browser or a newer device.
Is it safe to click "proceed anyway"?
No, usually not. The warning page may offer a way to continue through advanced options, but that means switching off a check that the browser added to protect you. Above all, do not continue if you plan to enter a password, card details, or personal data.
That said, an expired certificate alone does not prove that a site is malicious. However, the browser cannot confirm that the connection really reaches that site. So you cannot rule out a fake page. Even when you test your own site, fixing the problem always beats skipping the warning.
A different certificate error, tied to protocol mismatch rather than dates, has its own path. We cover it in the ERR_SSL_VERSION_OR_CIPHER_MISMATCH fix.
What does an SSL certificate actually do?
In short, an SSL/TLS certificate does two jobs. It encrypts the traffic between browser and site, and it proves that the site really belongs to that domain. The date check is part of that proof. Like an expired ID card, an expired certificate no longer counts as a guarantee.
We explain the basics, the certificate types, and why HTTPS became the standard in what an SSL certificate is. This guide stays focused on the date error, so read the general topics there.
One more note: free and paid certificates encrypt traffic the same way. The differences lie in the validation type, support, and renewal method. Whichever you choose, the way to avoid date errors is to automate renewal and monitor it from outside.
How do you confirm NET::ERR_CERT_DATE_INVALID as a site owner?
When a customer says "your site shows a security warning," first confirm that the problem really sits on the site. If your own clock is right and you also see the error, the certificate has most likely expired.
Next, gather three facts: the certificate's end date, the domain names it covers, and who renews it and how. You can read the end date in the SSL checker or in the certificate details from the browser's address bar. The covered names should include both the bare domain and the www version.
Above all, the last fact matters most. Does your hosting panel renew the certificate automatically, does a server admin install it by hand, or does a CDN in front of you serve its own certificate? If you renew without knowing who is responsible, the same problem returns a few months later.
If that chain of responsibility is unclear, working with web design services that handle setup and maintenance in one place keeps small but critical tasks like certificates from falling through the cracks.
What steps renew an expired certificate?
In general, the path depends on where the certificate comes from, but the general order stays the same:
- Find out who issues the certificate: a free automated provider or a purchased certificate.
- Open the SSL section in your hosting panel and check the status of the automatic certificate feature.
- If automatic renewal exists, start a manual check and read the error message.
- For a purchased certificate, get the new one from the provider, install it, and add the intermediate certificates.
- Reload the web server. Some servers keep the old certificate in memory even after you replace the file.
- Confirm the new end date with an outside tool.
If you use Let's Encrypt and renewal did not run by itself, the cause is usually the validation step. Our companion guide on a Let's Encrypt certificate not renewing covers that step by step, so we do not repeat it here.
Why does the error stay after you renew the certificate?
In practice, this surprises site owners the most. The panel shows the new certificate, yet visitors still see NET::ERR_CERT_DATE_INVALID. These are the usual causes:
- Nobody reloaded the web server, so it keeps serving the old certificate.
- A CDN or reverse proxy sits in front of you and serves its own old certificate.
- You run several servers and renewed only one of them.
- The new certificate does not cover the www version or a subdomain.
- The visitor's browser caches the old connection; a browser restart fixes that.
In reverse proxy setups, our guide on setting up an Nginx reverse proxy shows where the certificate really lives. If you run apps on your own VPS, the structure in our Next.js VPS deployment and SSL guide follows the same logic.
Can a certificate that has not started yet cause the same error?
Yes. The error means "date invalid," and it works in both directions. If the certificate's start date looks later than your device's clock, the browser does not treat it as valid yet.
In practice, this happens in two ways. First, your device clock runs behind; for instance, a computer with a dead battery shows a date years ago. Second, the site owner just installed the certificate and there is a small drift on the server or on your device. The second case is rare and usually short.
So the answer to "the certificate was just renewed, why the error?" is often the clock again. As a site owner, check that your server syncs with network time. As a visitor, check your own device. If both sides are right, try again in a few minutes.
How do intermediate certificates and chains mix with date errors?
First, a site certificate does not work alone. It sits in a chain that leads up to the issuing authority, and the intermediate certificates in that chain have their own validity dates. If your server sends an old intermediate, some devices may show a date error even though your own certificate is valid.
Therefore, when you renew, install not only the site certificate but also the current chain file from your provider. Automated tools usually handle this. In manual installs, however, this is the step people skip most.
In addition, the symptom looks like this: desktop browsers open the site fine, but some older phones or apps fail. If you see that pattern, check the full chain in the SSL checker. If a link is missing or expired, install the provider's current chain and reload the server.
How do you keep a certificate from expiring again?
The lasting fix is to stop relying on memory. The official Let's Encrypt FAQ states that its certificates are short-lived, that lifetimes cannot be adjusted, and that renewal should be automated. Check the current lifetime on that page, since the value can change over time.
In practice, set up three layers:
- Automatic renewal: the panel's automatic certificate feature or a scheduled renewal task on the server.
- Independent monitoring: an outside check that warns you as the end date approaches.
- A named owner: write down who gets the alert when renewal fails.
This way, even if automatic renewal breaks silently, you hear about it before your visitors do. These layers prove their value quickly in setups where the warning email goes to a former employee's inbox.
What should you check if you use a CDN or Cloudflare?
With a CDN in front of your site, a visitor actually makes two connections: visitor to CDN, then CDN to your server. The certificate the visitor sees is the CDN's certificate. So renewing the certificate on your server does not always fix what visitors see.
On the other hand, the link between the CDN and your server can validate certificates too. If your server's certificate expires, the CDN cannot connect, and visitors see a connection error instead of a certificate error. We look at a similar case in Cloudflare error 522.
In short, check both layers separately: the edge certificate status in the CDN dashboard and the end date of the origin certificate on your server. Make sure both renew automatically.
Why does this error appear on office networks or with security software?
Some business firewalls and antivirus tools step into encrypted connections to inspect them, and they connect to sites with a certificate they generate themselves. If that appliance's own certificate or clock is wrong, you may see date errors on every site.
Specifically, the symptom is typical. The same sites open fine at home and on mobile data, and fail only on the office network. In that case, neither you nor the site owner can fix it. The network admin needs to check the appliance's certificate and clock.
You can also briefly turn off the "encrypted connection scanning" feature in your security software and test again. If the error disappears, update the software or check the vendor's support page. Making the feature work correctly is safer than turning it off for good.
How did a team solve a realistic example scenario?
Example scenario: on Monday morning, the booking form on a dental clinic's website stops working. A patient calls and says, "your site shows a security warning." The clinic manager opens the site on her own phone and sees the NET::ERR_CERT_DATE_INVALID screen.
First, she uses the SSL checker and sees that the certificate ended a few days earlier. The panel shows automatic renewal as active, yet the logs record a validation failure. A redirect rule added to the site recently sent the validation request to another page.
The team fixes the rule, starts a manual renewal, gets the new certificate, and reloads the server. They also add an independent check that watches the end date. The real lesson in this example: the certificate was not the problem; a small change that broke renewal was.
Does this error hurt SEO and ads?
Google publishes no direct ranking penalty for it, but the indirect effect is clear. When visitors hit a full-page security warning, they leave. As a result, organic and paid traffic disappears before it reaches your site.
Moreover, search engine crawlers can run into errors on pages with certificate problems. That is why you should watch the HTTPS status in Search Console; we explain how to read it in the Search Console HTTPS report. On the ads side, the landing page does not open, so the spend goes to waste.
For advertisers, certificate tracking is therefore a marketing task. Before you raise a campaign budget, check the certificate end dates of your landing pages. It takes minutes and protects budget. After renewal, also confirm that your redirects work, using the steps in how to check an HTTP to HTTPS redirect.
What mistakes do people make with NET ERR CERT DATE INVALID?
Some common moves drag the problem out or create a new one:
- Telling visitors to "skip the warning and continue." It costs trust and teaches a risky habit.
- Getting a certificate for the root domain only. The error stays on www or subdomains.
- Skipping intermediate certificates. Some devices cannot complete the chain and see another error.
- Forgetting to reload the server. The new file sits on disk while the old certificate stays in memory.
- Sending warning emails to an inbox nobody reads.
- Blaming the site before checking your own device clock.
If you use many subdomains, consider a wildcard SSL certificate. Note, however, that wildcard renewal works differently, so plan its automation separately. Also, if you see mixed content warnings after a certificate change, that is a separate problem; we cover it in the mixed content error guide.
What is a quick checklist for site owners?
When an error report arrives, work through this list in order. It helps you classify the problem in a few minutes.
- Make sure your own device clock is right.
- Check the certificate end date with an outside tool.
- Review the names the certificate covers and its chain.
- Identify who renews the certificate and how.
- Read the result of the last renewal attempt in the panel or server logs.
- Reload the server after renewal and check the CDN layer.
- Confirm the result from several devices and update the customer.
Once you write this list down, everyone on your team follows the same order. Then nobody changes settings at random during a crisis, and a short issue does not turn into a bigger outage.
How should you inform visitors and customers?
Meanwhile, a certificate error can damage trust even if it lasts only a few hours. So plan communication next to the technical fix. Give the customer who reported it a short, honest reply: you know about it, you are working on it, and they should not enter personal data meanwhile.
If your site takes bookings or orders, announce that you can take them by phone or message for now. A short note on your social profiles also reduces incoming questions. However, never tell visitors to "skip the warning"; that advice does not fix the trust problem, it makes it worse.
After the fix, get back to the person who reported the error. That small step turns an outage into a careful service experience.
If the site and domain sit in a former agency's account, our guide on taking back your website and domain from an agency gives a roadmap that also covers certificate access.
Who should manage your certificates?
If you have the technical skills and server access, the steps in this guide are usually enough. Still, certificate renewal is not a "set it and forget it" task. For example, every redirect, server move, or CDN change can quietly break the automation.
In the sites we build, we treat certificate renewal, redirects, and measurement as parts of one structure. Our scope includes first-year hosting and maintenance, and speed, a clean server setup, and SEO foundations come with delivery. If your current site keeps running into issues like this, or nobody clearly owns them, you can settle in writing who handles these tasks as part of a corporate website design project.
If you go on your own, at least set up an independent end date check. That way, you see the NET::ERR_CERT_DATE_INVALID screen before your customers do. Also, review the renewal logs once a month; it is the easiest way to catch silent failures early.



