TLS/SSL Error Codes
TLS errors appear when a client cannot establish a trusted, encrypted connection to a server. The same symptom can come from an expired certificate, a hostname mismatch, an incomplete chain, or a protocol/cipher mismatch. Always check the certificate chain before changing application code.
| Code | What it means | Severity | Source |
|---|---|---|---|
CERT_HAS_EXPIRED |
CERT_HAS_EXPIRED The server certificate is past its expiration date. |
fatal | Node.js TLS / OpenSSL |
ERR_TLS_CERT_ALTNAME_INVALID |
ERR_TLS_CERT_ALTNAME_INVALID The certificate does not cover the hostname you requested. |
fatal | Node.js TLS / OpenSSL |
UNABLE_TO_VERIFY_LEAF_SIGNATURE |
UNABLE_TO_VERIFY_LEAF_SIGNATURE The client cannot build a trusted chain to the leaf certificate. |
fatal | Node.js TLS / OpenSSL |
DEPTH_ZERO_SELF_SIGNED_CERT |
DEPTH_ZERO_SELF_SIGNED_CERT The server presented a self-signed certificate. |
fatal | Node.js TLS / OpenSSL |
ERR_SSL_PROTOCOL_ERROR |
ERR_SSL_PROTOCOL_ERROR The TLS handshake failed because the protocol was not understood. |
fatal | Chromium net error list |
ERR_SSL_VERSION_OR_CIPHER_MISMATCH |
ERR_SSL_VERSION_OR_CIPHER_MISMATCH The client and server do not share a supported TLS version or cipher. |
fatal | Chromium net error list |
ERR_CERT_AUTHORITY_INVALID |
ERR_CERT_AUTHORITY_INVALID The certificate was issued by an untrusted authority. |
fatal | Chromium net error list |
ERR_CERT_COMMON_NAME_INVALID |
ERR_CERT_COMMON_NAME_INVALID The certificate's name does not match the requested host. |
fatal | Chromium net error list |
CERT_NOT_YET_VALID |
Certificate Not Yet Valid The certificate's validity period starts in the future. |
error | Node.js TLS / OpenSSL |
No codes match that filter.
Common TLS/SSL codes
How to read TLS/SSL codes
Start with the exact code and the context in which it appeared. A code is only a label: the same value can mean different things in different products, versions, or components. Use the quick answer and the official source on the detail page to confirm the meaning before changing a configuration or deleting data.
If the code is new to you, search this page first, then open the detail page for causes and step-by-step fixes. When a fix requires administrator rights, a reboot, or a data-destructive action, the page will say so explicitly.
Found a mistake or a missing code?
Send us the product, code, and official source. We review every correction before publishing.