Certificate Fields: Subject and Issuer Distinguished Names
You'll learn: How Distinguished Names (DNs) uniquely identify who a certificate belongs to and who issued it.
What Is a Distinguished Name?
In X.509 certificates, a Distinguished Name (DN) works like a formal mailing address—it uniquely identifies an entity using structured fields. Every certificate has two critical DNs:
- Subject DN: Identifies who the certificate belongs to (a website, person, or device)
- Issuer DN: Identifies which Certificate Authority signed and issued the certificate
Think of it like a diploma: the Subject DN is the graduate's name and details, while the Issuer DN is the university that granted it.
DN Components
DNs are built from standardized fields (called attributes):
- CN (Common Name): The entity's primary identifier
- For websites: the domain name (
www.example.com) - For people: their full name
- For websites: the domain name (
- O (Organization): Company or organization name (
Example Corp) - OU (Organizational Unit): Department or division (
Engineering,IT Security) - C (Country): Two-letter country code (
US,GB,JP) - ST (State/Province): Full state or province name (
California) - L (Locality): City name (
San Francisco)
Example in Practice
A certificate for a secure website might have:
Subject DN: CN=www.bank.com, O=Bank Inc, L=New York, ST=New York, C=US
Issuer DN: CN=GlobalSign CA, O=GlobalSign, C=BE
This tells you the certificate is for www.bank.com (owned by Bank Inc in New York), and it was issued by GlobalSign's Certificate Authority in Belgium.
Key Takeaway: Distinguished Names use standardized fields (CN, O, OU, C, ST, L) to create unique identities for certificate subjects and the CAs that issue them—essential for establishing trust chains in PKI.