Skip to content
MtrXTools

unable to verify the first certificate

The intermediate certificate is missing

Seen in Node.js (UNABLE_TO_VERIFY_LEAF_SIGNATURE), OpenSSL

The client received the server's own certificate but not the intermediate that links it to a trusted root.

Common causes

  • The server is configured with cert.pem instead of fullchain.pem.
  • A load balancer or CDN was given only the leaf certificate.

How to fix it

  1. Install the full chain (leaf followed by intermediates) on the server.
  2. Re-upload the certificate bundle to the load balancer.
Check the chain the server sends

Got a different message? Paste it into the error explainer.

Related errors

All 34 Command line & code errors