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.com
openssl x509 -in www.pem -noout -subject

Related terms

Taught in

References