SAN
A certificate extension that lists every host name, address or other identity the certificate is valid for.
In more detail
SAN stands for subject alternative name. Browsers and other clients match the name they connected to against this list, not against the common name in the subject, so a certificate whose list lacks the requested name fails with a host name mismatch. One certificate can list several names, such as a bare domain and its www form.
Examples
-addext "subjectAltName=DNS:www.example.com,DNS:example.com"openssl verify -verify_hostname shop.example.com www.pem -> hostname mismatchRelated terms
- common name — The legacy certificate field holding a single name, such as api.example.com.
- wildcard certificate — A certificate whose name starts with *., such as *.example.com, valid for every name one level below that domain.
- X.509 certificate — A signed document binding a public key to a name, issued by a certificate authority, used by TLS to prove identity.
- host name — The name a computer or container calls itself on a network.
Taught in
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Security Capstone Review & Certification — Cybersecurity Fundamentals, GRC & Cryptography