Capture tls-errors-example-001.pcap 43.49 Kbytes · 2023-05-20 · 2 hours, 17 minutes, 32 seconds

TLS Alert Unknown Certificate Authority

critical

Possible Reasons

  • Untrusted Certificate Authority (CA).
  • Missing Intermediate CA Certificates.
  • Use of a Self-Signed Certificate Without Trust Configuration.

The TLS Alert "Unknown CA" occurs when a client or server rejects a certificate because the Certificate Authority (CA) is not trusted. This is a fatal alert that results in the immediate termination of the TLS connection.

How TLS Certificate Validation Works
  1. Server Presents a Certificate: The server provides its SSL/TLS certificate to the client.
  2. Client Checks the CA: The client verifies if the certificate’s issuer is in its trusted CA list.
  3. CA Not Found: If the CA is unknown, the client triggers an Unknown CA alert.
  4. Connection Terminated: The TLS session is closed because the certificate cannot be trusted.
Comparison with other tests

Loading...

Loading...

Troubleshoot "TLS Alert Unknown Certificate Authority"

For a more customized troubleshooting experience, go pro.

Untrusted Certificate Authority (CA).

The certificate was issued by a CA that is not included in the client's or server's list of trusted CAs. The TLS handshake fails because the client cannot verify the authenticity of the certificate issuer.
For example, the server uses a certificate signed by a private or enterprise CA, but the client does not have the CA installed in its trust store.

If using a private CA, manually install the CA certificate on the client.

Missing Intermediate CA Certificates.

The server presents a certificate without the necessary intermediate CA certificates, preventing proper chain validation. The client fails to establish a trust chain, leading to the Unknown CA alert.
For example, the server sends only its end-entity certificate, but does not provide the intermediate CA certificate.

Configure the server to include all required intermediate certificates. Check certificate chain in openssl:

Use of a Self-Signed Certificate Without Trust Configuration.

The certificate is self-signed, meaning it is not issued by a recognized CA. The client rejects the certificate because no external CA can validate it.
For example, a self-signed certificate is used for an internal system, but the client has not manually added it to its trust store.

Use a certificate issued by a publicly trusted CA.
If using a self-signed certificate, manually add it to the client’s trusted CA store.