# tlsv1 alert unknown ca — the other side doesn't trust the certificate's issuer

**Code:** `unknown ca` · **Category:** SSL / TLS · **Seen on:** SSL, OpenSSL, Linux

A TLS alert 48: the peer received a certificate chain whose CA it doesn't know.

## Meaning

Often seen when a client rejects the server's chain (missing CA in its trust store/intermediate not sent) or a server rejects a client certificate. Install the CA on the rejecting side, send the full chain, and check which side sent the alert.

## Common causes

- Server cert signed by an internal CA missing from the client store
- Intermediate not sent
- Client cert's CA not in server's CA file
- Wrong `CAfile` in the app
- Container without CA bundle

## Quick fix

1. Add the CA to the trust store (`update-ca-certificates`)
2. Serve the full chain
3. Point `ssl_client_certificate` at the correct CA

## Detailed fix by platform

### Shell

1. `sudo cp internal-ca.crt /usr/local/share/ca-certificates/ && sudo update-ca-certificates`

## How to diagnose

1. **Which side** — Sent the alert?
2. **CA** — In trust store?
3. **Chain** — Complete?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/ssl/tls-alert-unknown-ca-client-certificate)
