Skip to content
MtrXTools

tlsv1 alert unknown ca

The peer doesn't trust the certificate's CA

Seen in OpenSSL, curl, nginx and Postfix logs, mutual TLS clients (SSL alert number 48)

The other side sent an unknown_ca alert (alert 48): it received a certificate chain it could not trace to a CA it trusts.

Common causes

  • In mutual TLS, the server does not trust the CA that issued the client certificate.
  • In server logs, a client rejected the server certificate, usually because the intermediate is missing or the client trust store is old.
  • A private or corporate CA used on one side but not installed on the other.

How to fix it

  1. Work out which side sent the alert: the side logging it is the one that was rejected.
  2. For mutual TLS, add the client certificate issuing CA to the server trust list (nginx ssl_client_certificate).
  3. For server certificates, serve the full chain (leaf plus intermediates) and update client CA bundles.
Check the chain the server sends

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

Related errors

All 34 Command line & code errors