common name
The legacy certificate field holding a single name, such as api.example.com.
In more detail
Modern clients check the Subject Alternative Name list instead, so the common name alone is not enough. It is still shown by many tools as the certificate's main name.
Examples
-subj "/CN=www.example.com"subject=O=Example Bookings Ltd, CN=booking.example.orgThe course's openssl commands set -subj "/CN=orders.internal" to name the server.Related terms
- SAN — A certificate extension that lists every host name, address or other identity the certificate is valid for.
- 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.
- host name — The name a computer or container calls itself on a network.
- X.509 certificate — A signed document binding a public key to a name, issued by a certificate authority, used by TLS to prove identity.
- Subject Alternative Name — The certificate field that lists every host name, and sometimes IP address, the certificate is valid for.
- TLS certificate — A signed digital document that proves a server really owns a domain name and holds the key used to start encrypted TLS connections.
Taught in
- Works On A Laptop, Fails In Production — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Certificate That Expired On A Sunday — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Security Capstone Review & Certification — Cybersecurity Fundamentals, GRC & Cryptography
- Copied From A Blog Post: The Kubelet — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- There Is No Users Table: Authentication — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Fundamentals Sprint: Four Findings, Eight Questions — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- A Cluster's First Birthday: PKI And Connectivity — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- TLS & HTTPS Encryption: Certificates & SNI Contexts — Node.js Internals & Backend Services
- TLS And The Handshake — Application Security & Threat Modeling for Engineers
- SSL Certificates: Create, Inspect And Verify A Chain — Linux Foundation Certified System Administrator (LFCS) Exam Prep
References
- NIST glossary: common name
- RFC 9525: service identity in TLS
- RFC 5280: X.509 certificate profile
- RFC 5280: subject field