This code usually appears inside the “Your connection is not private” page. Every SSL certificate has a start date and an end date, and the browser compares them with your device’s clock. If now falls outside that window, the browser refuses the connection. So there are two main causes: a certificate that really expired on the site, or a wrong clock on the visitor’s device.
Common causes
- Automatic renewal failed, so the certificate expired on the server.
- A paid or manually installed certificate nobody renewed in time.
- A wrong device date, from a weak BIOS battery, a manually changed date or the wrong time zone.
- An old device or OS whose root certificates were never updated, so the chain looks expired to it.
- Antivirus intercepting HTTPS with its own expired certificate.
How to fix it
If you’re a visitor
- Fix the date and time: turn on automatic time and time zone in system settings, then reopen the browser.
- Update the OS and browser, especially on older devices.
- Try another device or network to see whether it’s just you.
- Don’t bypass the warning on login or payment pages; let the site owner know.
If you own the site
-
Check when the certificate expires:
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -datesnotAfteris the expiry date. -
Renew it: in cPanel open Security » SSL/TLS Status, make sure the domain and
wwware selected, then click Run AutoSSL. Check the AutoSSL log on the same page if it fails; causes are covered in AutoSSL failed. -
Remove an expired manual certificate under Security » SSL/TLS » Manage SSL sites, then run AutoSSL so a free, self-renewing certificate replaces it.
-
Don’t block the validation path: if
.htaccessredirects or protects every URL, exclude/.well-known/before your rules:RewriteEngine On RewriteCond %{REQUEST_URI} !^/\.well-known/ RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] -
Check any CAA records and make sure they allow the authority that issues your certificate.
-
Behind Cloudflare, Cloudflare handles the edge certificate visitors see; an expired certificate on your origin shows up as error 526 instead.
Prevention
- Rely on AutoSSL rather than manual certificates; Let’s Encrypt certificates are short-lived by design and meant to renew automatically.
- Keep the domain pointed at the server, because every renewal validates it again.
- Don’t ignore renewal failure notices; they usually arrive before the certificate runs out, leaving time to fix things.
On ArabyHost
AutoSSL certificates are issued free and automatically as soon as the domain points to the server, and they keep renewing as long as the domain points there and the validation path is reachable. Track their status under SSL/TLS Status in cPanel, one click from the Araby Panel, and ask the Araby AI assistant to read the logs and explain any renewal failure. LiteSpeed reads .htaccess just like Apache, so the /.well-known/ exception above works as written.
FAQ
How do I know whether it's my device or the site?
Make sure your date and time are correct, then open the site on another device. If devices with correct clocks all show the error, the site's certificate has expired.
Should I click through the warning?
Not on login or payment pages. The warning means the browser can't vouch for the connection; wait for the owner to renew the certificate.
Why did the certificate expire if AutoSSL is automatic?
Renewal requires validating the domain. If the domain stopped pointing to the server, .htaccess blocked the validation path, or a CAA record excludes the issuer, renewal fails and the certificate runs out.