certificate subject
The field in a certificate that names who or what the certificate was issued to, such as an organisation and a server name.
In more detail
The subject is written as a distinguished name made of parts like O for organisation and CN for common name. For websites, clients no longer match the host name against the subject; they use the subject alternative name extension instead. The subject still helps people identify a certificate, and in a certificate authority's own certificate it must match the issuer field of the certificates it signs.
Examples
subject=CN=www.example.comopenssl x509 -in www.pem -noout -subjectRelated terms
- certificate issuer — The field in a certificate that names the certificate authority that signed it.
- common name — The legacy certificate field holding a single name, such as api.example.com.
- SAN — A certificate extension that lists every host name, address or other identity the certificate is valid for.
- X.509 certificate — A signed document binding a public key to a name, issued by a certificate authority, used by TLS to prove identity.
Taught in
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography