Skip to content
Log In Sign Up info@muvcloud.com

What the Error Means

A public certificate is signed by an intermediate certificate, which is signed by a root certificate that browsers keep in their trust store. The server must send its own certificate plus the intermediates; the browser supplies the root. If the chain is broken, or ends at a certificate no browser trusts, the browser shows "Your connection is not private" with this code. The general warning is explained in Your connection is not private.

What a Visitor Can Try

  • Do not proceed where you enter data: no logins, payments, or personal details on a page behind this warning.
  • Compare with other sites: if every HTTPS site shows it, security software or a workplace proxy that inspects HTTPS is in the way, or the network is intercepting traffic.
  • Try another network: public Wi-Fi sign-in pages often cause it until you accept their terms.
  • Check the date and time: a wrong clock can break the chain check too.

Read the Chain the Server Sends

openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null

The "Certificate chain" section lists each certificate the server sent, numbered from 0, with an s: line for its subject and an i: line for its issuer. A public site normally sends two or three. If only certificate 0 appears and its issuer is an intermediate, the chain is missing. Near the end, the Verify return code line gives the verdict. More in openssl s_client.

What the Verify Result Tells You

  • 0 (ok): the chain is complete and trusted; if browsers still complain, a proxy on the visitor's side is the likely cause.
  • self-signed certificate: the certificate signed itself; replace it.
  • unable to verify the first certificate: the server sent its own certificate without the intermediates.
  • unable to get local issuer certificate: an issuer in the chain is neither sent nor in the trust store, either a missing intermediate or a private authority.
  • self-signed certificate in certificate chain: the chain ends at a root no public trust store holds, typically a private authority.

Fix a Missing Intermediate

With Let's Encrypt, point Nginx at the full chain file, not the certificate alone:

ssl_certificate     /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;

Apache 2.4.8 and later also accepts the full chain in SSLCertificateFile. For a certificate from another authority, join your certificate and the intermediate bundle it came with, your certificate first:

cat example.com.crt intermediate.crt > example.com-fullchain.crt

Replace a Self-Signed Certificate

Self-signed certificates suit internal tools where you control every client, as described in how to create a self-signed certificate. For a public site, get one from Let's Encrypt:

sudo certbot --nginx -d example.com -d www.example.com

On Apache use --apache. The full steps are in Certbot Nginx and Certbot Apache.

Private Certificate Authorities

A company's own authority is trusted only on devices where its root certificate was installed. That is fine for an internal site, but public visitors will always see this error. Use a public certificate for anything the public opens.

Why One Browser Works and Another Does Not

Some browsers fetch missing intermediates on their own or remember them from other sites, so a broken chain can look fine in one browser and fail in another, in apps, and in curl. Judge the chain with openssl, not with a single browser.

Confirm the Fix

sudo nginx -t && sudo systemctl reload nginx
curl -sI https://example.com/ | head -n 1

Run the openssl command again and look for 0 (ok). curl should print a status line without the -k option; never use -k as the fix.

Updated:

Linux VPS with Full Root Access

MUVCloud cloud servers run on KVM with Enterprise NVMe SSD storage and full root access, in Turkey, the Netherlands, and the USA.

Cloud VPS Plans Starting at2.99 $/mo Cheap Linux VPS

No Limits on Service or Support

You are not on your own as your projects grow. Our support engineers are ready 24/7, on several channels, whenever you need them.

Support specialist
  • 100% customer satisfaction goal
  • Our own hardware
  • 24/7 ticket and email support
  • 4 countries with locations