certificate verification error
The error a TLS client raises when a certificate fails its checks, with a reason naming what went wrong.
In more detail
A hostname mismatch means the certificate is for a different name; unable to get local issuer certificate means the chain leads to an authority the client does not trust. The two point at different mistakes, so read the reason before changing anything.
Related terms
- certificate verification — The client's checks that a server certificate chains to a trusted authority, is in date, and names the host it asked for.
- Subject Alternative Name — The certificate field that lists every host name, and sometimes IP address, the certificate is valid for.
- trust store — The list of root certificate authorities a client trusts, usually supplied by the operating system or passed explicitly.
Taught in
- TLS And The Handshake — Application Security & Threat Modeling for Engineers