EN · $ USD
Domains, DNS and SSL

How to Fix the "Your Connection Is Not Private" SSL Error

7 min read Updated: Sunucu Atlas technical team

In short

The "Your connection is not private" error means the browser can't verify the site's SSL certificate. The most common causes are an expired certificate, a certificate issued for a different domain, a missing intermediate certificate chain, and a wrong clock on the visitor's device. Once you read the error code and identify the cause, running AutoSSL in cPanel fixes the problem for good in most cases.

In this guide
  1. Read the error code: the browser tells you the cause
  2. Rule out problems on the visitor's side
  3. Inspect the certificate from the command line
  4. Fixes by cause
  5. The permanent fix with cPanel AutoSSL: step by step
  6. Force HTTPS and clean up mixed content
  7. Why is there no "Proceed" button? The HSTS effect
  8. Preventing the error from coming back
  9. Next step: hosting where SSL renews itself

The "Your connection is not private" warning tells you the browser doesn't trust the SSL/TLS certificate presented on its HTTPS connection to your site. The problem is almost always the certificate itself or how it's installed on the server: it has expired, it doesn't cover the domain being visited, or the intermediate certificate chain is missing. Less often, the visitor's device clock is wrong. To fix it properly, read the error code first, then act on the cause. On cPanel hosting, the permanent fix is usually making sure AutoSSL runs correctly.

Read the error code: the browser tells you the cause

In Chrome and Edge, the warning page shows a code starting with NET::ERR_CERT_... below the text. Click the "Advanced" button to see more details. In Firefox, the equivalent is the "Warning: Potential Security Risk Ahead" page, and the code starts with SEC_ERROR_... or SSL_ERROR_....

Error codeMeaningMost likely cause
NET::ERR_CERT_DATE_INVALIDThe certificate is outside its valid date rangeThe certificate expired or the device clock is wrong
NET::ERR_CERT_COMMON_NAME_INVALIDThe certificate wasn't issued for this domainwww or a subdomain isn't on the certificate; the server is presenting another site's certificate
NET::ERR_CERT_AUTHORITY_INVALIDThe issuing authority isn't trustedSelf-signed certificate or missing intermediate certificate chain
NET::ERR_CERT_REVOKEDThe certificate has been revokedThe provider revoked the certificate; you need a new one
ERR_SSL_VERSION_OR_CIPHER_MISMATCHNo common protocol or cipher foundNo certificate installed for the domain at all, or very old TLS settings

Rule out problems on the visitor's side

Before touching the server, find out whether the problem affects everyone or just one device:

  1. Open the site from a different device and over mobile data. If only one computer shows the error, the problem is most likely on that device.
  2. Check the device's date, time and time zone. If the clock is years behind, even valid certificates look "expired."
  3. The "HTTPS scanning" feature in antivirus software, or proxies on corporate networks, can insert their own certificate. Turn that feature off temporarily and try again.
  4. On public Wi-Fi, the login page (captive portal) can break HTTPS; complete the network's sign-in page first.

If the error appears on every device and every network, the problem is on the server. Move on to the steps below.

Inspect the certificate from the command line

You can view certificate details from the padlock icon in the browser, but openssl gives you the clearest information. Run this command on Linux, macOS, or Windows via WSL/Git Bash:

echo | openssl s_client -connect ornek.com:443 -servername ornek.com 2>/dev/null \
  | openssl x509 -noout -subject -issuer -dates -ext subjectAltName

Look for three things in the output:

  • notBefore / notAfter: The certificate's validity period. If notAfter is in the past, the certificate has expired.
  • subjectAltName: The domains the certificate covers. Both ornek.com and www.ornek.com should be listed here.
  • issuer: The authority that issued the certificate. If you see the server's hostname or something like "self-signed" here, no valid certificate has been installed for your site.

To check the chain, list all certificates with the -showcerts option. If the server sends only its own certificate and not the intermediate, some browsers and especially mobile apps will reject the connection:

echo | openssl s_client -connect ornek.com:443 -servername ornek.com -showcerts 2>/dev/null \
  | grep -E "^ *[0-9] s:|^ *i:"
# Look for this line at the end of the output:
# Verify return code: 0 (ok)

Fixes by cause

1. Expired certificate

Let's Encrypt and cPanel AutoSSL certificates are issued for 90 days or less and normally renew automatically before they expire. If renewal stopped, domain validation has usually failed: DNS points to another server, the domain registration has expired, or access to the validation file is blocked. The AutoSSL steps below fix this.

2. Certificate issued for the wrong domain

The most typical case is a certificate that covers only ornek.com but not www.ornek.com. Another scenario is the domain's DNS record still pointing to your old host, which serves another site's certificate. Make sure there is an A or CNAME record for www; if you just changed DNS, wait for propagation to finish. We cover this in our DNS propagation guide.

3. Missing chain or self-signed certificate

When installing a paid certificate manually, pasting only the domain certificate and leaving the CA Bundle (intermediate certificate) field empty is the most common cause of a missing chain. In cPanel, go to SSL/TLS > Manage SSL Sites and fill in the "Certificate Authority Bundle" field with the intermediate certificate from your provider. A self-signed certificate is for testing only; replace it with an AutoSSL certificate.

The permanent fix with cPanel AutoSSL: step by step

AutoSSL is the cPanel feature that automatically obtains free domain-validated (DV) certificates for your domains and renews them before they expire.

  1. Verify DNS: The A records for your domain and its www record must point to your hosting account's IP address. If you haven't set up your nameservers yet, follow our guide on pointing a domain to your hosting.
  2. Log in to cPanel and open Security > SSL/TLS Status.
  3. Check the status next to your domain and its www version in the list. Click a red or yellow icon to read why validation failed.
  4. Click the Run AutoSSL button. It can take a few minutes; refresh the page to see the status turn green.
  5. After the certificate is installed, open the site in a private window and confirm from the padlock icon that the certificate has a new date.

If AutoSSL validation fails

  • Access to the validation file is blocked: AutoSSL reads a file under /.well-known/ over HTTP. Temporarily disable any .htaccess rules that block this path or redirect it to another domain.
  • There's a proxy/CDN in front of the domain: Traffic going through a CDN can break validation. Disable the proxy until the certificate is issued, or set the CDN's SSL mode to the strict mode that validates the origin server's certificate (Full/Strict).
  • CAA record: If your DNS has a CAA record, make sure it allows the certificate authority AutoSSL uses.

Force HTTPS and clean up mixed content

Once the certificate is valid, redirect all visitors to HTTPS. Add these rules at the very top of your public_html/.htaccess file:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

For redirect details, see our guide on 301 redirects and forcing HTTPS with .htaccess. If you use WordPress, update the WordPress Address and Site Address fields under Settings > General to https://. If you see a warning next to the padlock, the page is still loading images or scripts over http://; that's a "mixed content" warning, which is different from the "Your connection is not private" error.

Why is there no "Proceed" button? The HSTS effect

On some sites, the "Advanced > Proceed to site" option never appears on the warning page. The reason is HSTS (HTTP Strict Transport Security). If the site previously sent a Strict-Transport-Security header, the browser will only connect to that domain with a valid certificate for the specified period and won't let the visitor bypass the warning. This isn't a bug, it's a protection mechanism; the fix is still to repair the certificate.

If you're thinking of enabling HSTS through .htaccess or a plugin, first make sure AutoSSL works reliably for your domain and all your subdomains. The includeSubDomains directive in particular can make a subdomain without a certificate completely unreachable in browsers. A safe approach is to start with a short max-age value, confirm everything works, and then increase it.

Preventing the error from coming back

  • Keep track of your domain's expiration date; a certificate can't be renewed for an expired domain.
  • When moving DNS to another provider, check that your A records still point to your hosting IP.
  • Create a DNS record for every subdomain too (for example magaza.ornek.com); AutoSSL only issues certificates for names that resolve.
  • Checking the SSL/TLS Status screen once a month lets you catch problems before visitors notice.

Next step: hosting where SSL renews itself

Tracking certificate renewals by hand is the most common reason the "Your connection is not private" error comes back. Sunucu Atlas cPanel web hosting plans come with a free SSL certificate; as long as your DNS records are correct, cPanel renews certificates automatically. If your site runs WordPress, you can set up HTTPS correctly from day one with our WordPress hosting plans, which include one-click installation and free SSL. Even the entry-level SA-CP-1 for small sites includes free SSL. If you get stuck on any step during setup, you can open a support ticket in Turkish.

Frequently asked questions

Is it safe to proceed to a site that shows "Your connection is not private"?

You can proceed on your own site for testing, but don't continue on a site you don't know, especially on pages where you'd enter a password or card details. The warning can mean someone in the middle could read the connection.

Why does the error only appear on my computer?

Most likely your device clock is wrong, or your antivirus software's HTTPS scanning feature or a proxy is intercepting the connection. Correct the clock, temporarily turn off HTTPS scanning, and try again.

Why does my site show an error with www but load fine without it?

The certificate only covers the non-www name, or there's no DNS record for www. Add an A or CNAME record for www and run AutoSSL again in cPanel.

How long is an AutoSSL certificate valid?

AutoSSL certificates are short-lived and cPanel renews them automatically before they expire. As long as your domain points to the correct server, you don't need to do anything manually.

Is there a security difference between free and paid SSL?

The encryption strength is the same. Paid certificates usually add features such as organization validation (OV/EV), longer support or warranty coverage; a free DV certificate is enough to clear the browser warning.

For this guide

Recommended plans

The free SSL certificate in Sunucu Atlas web hosting and WordPress hosting plans renews automatically through cPanel, so you won't have to deal with the "Your connection is not private" error again.

SA-CP-1

cPanel
Recommended

20 GB NVMe disk

$0.39/mo

+VAT

  • Memory1 GB
  • LocationIstanbul
  • 1 Hosted Domains
  • 50 GB Traffic
  • 5 Email Account Limit
  • 2 Databases

SA-CP-2

cPanel

40 GB NVMe disk

$0.69/mo

+VAT

  • Processor2 cores
  • Memory2 GB
  • LocationIstanbul
  • 1 Hosted Domains
  • 100 GB Traffic
  • 10 Email Account Limit
  • 5 Databases

SA-CP-3

cPanel

60 GB NVMe disk

$0.98/mo

+VAT

  • Processor3 cores
  • Memory3 GB
  • LocationIstanbul
  • 1 Hosted Domains
  • 200 GB Traffic
  • 25 Email Account Limit
  • 10 Databases

Web Hosting — all plans WordPress Hosting — tüm paketler

Need help with setup?

Send questions about your service in a support ticket, and our technical team will walk you through it step by step.