OpenSSL: Verify return code 21 (unable to verify the first certificate)

Server sent only its leaf certificate without the intermediate CA certificate chain.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.0.0
Identifier: OpenSSL: Verify return code 21 (unable to verify the first certificate) Platform: TLS / OpenSSL

Interactive Diagnostic Checklist

Safe Diagnostic Command:
openssl s_client -connect omnisolveatlas.com:443 -servername omnisolveatlas.com </dev/null

Technical Explanation

Server sent only its leaf certificate without the intermediate CA certificate chain. Verified resolution path: Configure the web server to serve `fullchain.pem` (leaf + intermediate CA).

Worked Examples

  • Read-only diagnostic command: openssl s_client -connect omnisolveatlas.com:443 -servername omnisolveatlas.com </dev/null

Limitations & Assumptions

  • Always verify which infrastructure layer (CDN, Nginx, runtime, OS, or database) emitted the error before modifying production config.

Source References & Verification

Resource ID: err-openssl-unable-to-verify-first-cert · Independently verified: 2026-11-25

Related Resources