OpenSSL Error: self-signed certificate in certificate chain

Client trust store does not trust the root CA or a corporate TLS inspection proxy.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.0.0
Identifier: OpenSSL Error Platform: Security
Common Root Causes:
  • Client trust store does not trust the root CA or a corporate TLS inspection proxy.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Use a publicly trusted CA (e.g. Let’s Encrypt) or install the private root CA into the system trust bundle.
Safe Diagnostic Command:
openssl verify -CAfile /etc/ssl/certs/ca-certificates.crt fullchain.pem
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

Client trust store does not trust the root CA or a corporate TLS inspection proxy. Recommended diagnostic: `openssl verify -CAfile /etc/ssl/certs/ca-certificates.crt fullchain.pem`. Remediation: Use a publicly trusted CA (e.g. Let’s Encrypt) or install the private root CA into the system trust bundle.

Worked Examples

  • Run `openssl verify -CAfile /etc/ssl/certs/ca-certificates.crt fullchain.pem` to confirm root cause before applying the fix.

Limitations & Assumptions

  • Always test configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-openssl-self-signed-cert-in-chain · Independently verified: 2026-11-25

Related Resources