troubleshooting 2026-12-02 ⏱ 3 min read

Fix 'SSL Certificate Not Trusted'

Fix 'SSL Certificate Not Trusted'
Quick Answer: Most "certificate not trusted" errors come from an incomplete chain (missing intermediate certificate), a self-signed or expired certificate, or a wrong date on the visitor's device. Check the chain with the SSL checker and install the full chain file. Do not tell visitors to click through warnings.

How trust works

Your certificate is signed by an intermediate CA, which is signed by a root CA already stored in browsers and operating systems. The server must send the leaf certificate plus the intermediates. If any link is missing, expired or unknown, the browser cannot build a path to a trusted root and shows an error such as NET::ERR_CERT_AUTHORITY_INVALID.

SSL certificate not trusted: causes and fixes

CauseClueFix
Missing intermediateWorks in some browsers, fails on mobile or in tools like curlServe the full chain (fullchain.pem or leaf plus CA bundle)
Self-signed certificateIssuer and subject are the sameReplace with a certificate from a public CA
Expired certificate"notAfter" date has passedRenew and reload the server
Name mismatchHostname missing from the certificateSee ERR_CERT_COMMON_NAME_INVALID
Untrusted or private CAIssuer is an internal CAUse a public CA, or install the CA on client devices
Wrong device dateFails for one user onlyCorrect the date and time on that device
Antivirus or proxy interceptionIssuer is a security productCheck local security software or corporate proxy

Diagnose from the server side

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

Look at the "Certificate chain" block. You should see your certificate and at least one intermediate. A line such as "unable to verify the first certificate" confirms a missing intermediate. The SSL decoder helps read the certificate details if you paste a certificate.

SSL certificate not trusted: fix the chain

Nginx needs one file with the leaf first, then the intermediates:

cat certificate.crt ca-bundle.crt > fullchain.crt

ssl_certificate     /etc/ssl/fullchain.crt;
ssl_certificate_key /etc/ssl/private.key;

Apache uses the separate file instead:

SSLCertificateFile      /etc/ssl/certificate.crt
SSLCertificateKeyFile   /etc/ssl/private.key
SSLCertificateChainFile /etc/ssl/ca-bundle.crt

On newer Apache versions you can also put the chain in the certificate file. Reload the server and retest. If the key and certificate might not match, check them with the key matcher.

Behind a CDN or proxy

The visitor sees the CDN's certificate, while your origin certificate is checked separately. If visitors see the error, review the CDN's SSL settings. If the CDN reports an origin error instead, read the Cloudflare 526 guide.

What not to do

  • Do not ask users to bypass the warning or install random certificates.
  • Do not disable certificate verification in your code or scripts. It removes the protection TLS provides.
  • For internal tools, use a proper internal CA distributed to devices, or a public certificate for an internal hostname.

After fixing, confirm with the SSL checker and, to protect against recurrence, set up automatic renewal as described in renewing without downtime.

Related reading: the SSL certificate chain, fixing chain errors, the record too long error, installing SSL on Windows hosting with a PFX and updating Search Console after a migration.

Frequently Asked Questions

Why does my site work on desktop but not on mobile?

Desktop browsers sometimes fetch a missing intermediate on their own. Mobile and many tools do not, so the chain must be complete on the server.

Is a self-signed certificate ever fine?

For local testing, yes. For public sites, no, since no visitor's browser trusts it.

Does a free certificate cause trust errors?

No. Certificates from Let's Encrypt are trusted by mainstream browsers when installed with the full chain.

Why did it break when nothing changed?

Common reasons are expiry, a failed renewal, or a CA changing its intermediate certificates while your server serves an old bundle.

🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant