A customer clicks a link to your website and gets a full-page warning instead of your homepage: “Your connection is not private”, with a red warning sign and a code such as NET::ERR_CERT_DATE_INVALID below it. The browser tells them attackers might be trying to steal their information. Almost nobody clicks through that, so for those visitors your site is gone.
The short answer: the browser could not trust the security certificate (the SSL certificate) of your website. Most of the time the certificate has expired, the visitor's clock is wrong, or the certificate does not cover the exact address they typed, such as the www version. If you want the background first, read what SSL is and why your website needs it. This guide is the fix list: three quick checks, what the warning means, the usual causes, and the steps to fix it on your own website.
Three quick checks before you change anything
These take a few minutes and tell you where the problem is.
- Open your site on another device and network. Use your phone over mobile data, not your office Wi-Fi. If the warning shows there too, the problem is your website. If it only shows on one computer, the problem is that computer or its network.
- Look at the date and time of the device that shows the warning. A computer whose clock is days or years off thinks every certificate is expired or not valid yet. That gives exactly NET::ERR_CERT_DATE_INVALID, on every secure site, not only yours.
- Try both versions of your address. Open https://yourdomain.com and https://www.yourdomain.com. If one works and the other shows the warning, the certificate covers only one of the two names.
If the warning shows on every device, on both addresses, and the clock is right, the certificate itself is the problem. The steps further down show you how to check and fix it.
What “Your connection is not private” means
Before a browser shows a secure page, it checks the certificate of the website. Three things must be right: the certificate is within its valid dates, it was made for the exact name in the address bar, and it was issued by an authority the browser trusts. If one check fails, the browser stops and shows the warning instead of your page.
The words differ per browser, but the meaning is the same:
- Chrome and Edge: “Your connection is not private” or “Your connection isn't private”, with a code below it.
- Safari: “This Connection Is Not Private”.
- Firefox: “Warning: Potential Security Risk Ahead”, with codes such as SEC_ERROR_EXPIRED_CERTIFICATE or SSL_ERROR_BAD_CERT_DOMAIN.
The code tells you which check failed:
- NET::ERR_CERT_DATE_INVALID: the certificate has expired or is not valid yet, or the visitor's clock is wrong.
- NET::ERR_CERT_COMMON_NAME_INVALID: the certificate was made for another name, for example only for yourdomain.com while the visitor opened www.yourdomain.com.
- NET::ERR_CERT_AUTHORITY_INVALID: the browser does not trust who issued the certificate, for example a self-made certificate or one that is missing a part of its chain.
Write down the code you see. It saves time, both for you and for anyone who helps you.
Why it happens: the usual causes
The certificate expired
Certificates are valid for a limited time, often 90 days or one year. Most hosts renew them automatically, but renewal can fail without anyone noticing: the domain was moved, a DNS setting changed, the renewal job was blocked, or a paid certificate was simply not renewed. The day after the end date, every visitor gets the warning. This is the most common reason for NET::ERR_CERT_DATE_INVALID on a site that worked yesterday.
The visitor's date and time are wrong
If only one visitor or one computer sees the warning, check its clock first. A laptop with an empty battery, a computer that was off for a long time, or a manually changed date makes the browser think valid certificates are expired. The fix is on their side: turn on the automatic date and time setting and reload.
www and the bare domain are not both covered
yourdomain.com and www.yourdomain.com are two different names. A certificate made for one of them does not cover the other. Visitors who type the other version, or follow an old link to it, get the warning. The same goes for subdomains such as shop.yourdomain.com.
The domain points to the wrong server
When you move your site to another host, the DNS records of your domain must point to the new server. If an old record is left behind, some visitors land on the old server, which may have an expired certificate or one for another site. A forgotten AAAA record (the IPv6 address) is a classic: visitors on IPv6 networks end up somewhere else than everyone else. Our guide on how DNS propagation works explains why such changes can take hours to reach everyone.
The certificate is self-made or incomplete
A certificate you created yourself works for testing, but browsers do not trust it. A certificate from a real authority can also fail when the server does not send the intermediate certificate that links it to that authority. Some devices then show the warning and others do not.
“Not secure” in the address bar is a different problem
Sometimes your page loads, but the address bar shows “Not secure” or a padlock with a warning, and some pictures or buttons do not work. That is not the full-page warning. It usually means mixed content: the page itself loads over HTTPS, but it pulls in a picture, script, video or font over plain HTTP. The certificate is fine; a link inside the page is not.
The fix is to change those links from http:// to https://. Look at pictures and embeds you added by hand, custom code in the header or footer, and old links to your own site. Your browser's developer tools (the Console tab) list each file that was blocked or loaded without HTTPS. For the difference between the two protocols, read what HTTP and HTTPS are.
How to fix it on your own website, step by step
Work through these steps in order. Start with the one that matches the code you wrote down.
- Check the certificate's dates and names. Open your site in a browser that shows the warning, click the warning or the “Not secure” label, and open the certificate details. You will see the valid-from and valid-to dates and the names the certificate covers. An end date in the past means it expired; a missing www means the name does not match.
- Renew or reissue the certificate. In your hosting panel, look for SSL or certificates and renew or reissue it. Many hosts use free certificates that renew themselves; if yours stopped, turning it off and on again often starts a new one. If you bought the certificate yourself, renew it where you bought it and install the new files.
- Cover both names. When you reissue it, make sure the certificate covers both yourdomain.com and www.yourdomain.com, and any subdomain you use.
- Check where your domain points. Look up the A record (and the AAAA record, if there is one) of both names, for example with our free DNS lookup tool. Both must point to the server your host gives you. Remove old records that point anywhere else. Leave your email records (MX) alone.
- Send everyone to one secure address. Redirect http:// to https://, and choose one main version, with or without www, that the other one redirects to. Our guide on what a 301 redirect is explains how.
- Fix mixed content. Change every http:// link to pictures, scripts and embeds into https://, as described above.
- Test it the way your customers do. Open both addresses in a private window, on your phone over mobile data and on a computer. No warning anywhere and a closed padlock means it is fixed.
- Ask your host when you cannot see or change the certificate. Send them the exact addresses, the code from the warning, when it started and what you already tried. They can see renewal logs that you cannot.
If you have no certificate at all yet, start with our guide on how to get an SSL certificate.
What visitors should do, and what you should never ask them
A visitor who sees the warning on many sites should check the date and time of their device, try another network, and update their browser. A visitor who sees it only on your site can do nothing useful: the fix is yours.
Never tell customers to click “Advanced” and continue anyway. The warning exists because the browser cannot confirm who it is talking to. Teaching customers to ignore it puts them at risk on other sites, and on a page with a form, a login or a checkout it is exactly the moment they should stop.
What the warning costs you in visitors and in Google
Most visitors leave at the warning, so every hour it is up costs you enquiries, bookings or orders. Ads keep sending people to a page they will not open. Search engines that cannot load your pages securely may visit your site less often and drop the failing pages from their results until they work again. A warning fixed within hours does little lasting harm; one that stays for days does more. If your site also returns server errors, read how to fix a 500 internal server error.
How WEMASY keeps this warning off your website
On WEMASY, your website, your domain and the secure connection between them run in one place, so the usual causes of this warning are handled for you:
- SSL is included and turned on automatically. Every WEMASY website is served over HTTPS by default. The certificate is included on every plan, and there is nothing to buy or install.
- Renewal is done for you. The platform renews certificates before they expire, so an expired certificate does not depend on someone remembering a date.
- Connecting your own domain takes two DNS records. You point the A records for @ and www to the address WEMASY shows, and remove the records it lists, such as old AAAA records. When the DNS status shows Verified and you publish your website, WEMASY sets up the secure connection for the domain. The steps are in connecting an existing domain.
- A domain from WEMASY is ready in the same dashboard. When you register your domain with WEMASY, its DNS settings live next to your website. See connecting a WEMASY domain to your project.
You work on your website by hand in the dashboard, with the WEMASY AI, or, on a paid plan, from your own AI tool such as ChatGPT, Claude or Gemini, connected through MCP, the open standard that links AI tools to apps. Every change your own AI wants to make asks for your confirmation first. See connect your own AI with MCP.
Frequently asked questions
What does NET::ERR_CERT_DATE_INVALID mean?
The browser found that the website's security certificate is outside its valid dates: it has expired or is not valid yet. If the same code shows on many websites, the date and time of the device are usually wrong. If it shows only on one website for everyone, that website's certificate needs to be renewed.
Why do only some visitors see “Your connection is not private”?
Then the cause is usually on their side or in one part of your setup: a wrong clock on their device, a network that intercepts secure connections, an old address such as the www version that your certificate does not cover, or an old DNS record that sends some visitors to another server.
Is it safe to click through the warning?
Not on a site you do not control. The warning means the browser cannot confirm who it is talking to, so anything typed on that page, such as a password or payment details, could be read by someone else. As a website owner, never ask customers to click through: fix the certificate instead.
Does this warning mean my website was hacked?
Usually not. In most cases the certificate expired, does not cover the address the visitor used, or the domain points to an old server. Check those first. If the certificate shows a name or issuer you do not recognise, ask your host to look into it.
How long does it take to fix?
Renewing or reissuing a certificate often takes minutes once your domain points to the right server. If you have to change DNS records first, it can take up to 24 to 48 hours before every visitor reaches the new server.
Does the warning hurt my ranking in Google?
If it lasts, yes. Search engines that cannot load your pages securely may visit your site less often and drop pages from the results until they work again. A warning that is fixed within hours does little harm.