Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
X.509 is the standard format for public key certificates, binding a public key to a name through a certificate authority signature. It underpins TLS, code signing, and email security.

What Is an X.509 Certificate?
X.509 is the format that almost every public key certificate in use today follows. Originally part of the ITU-T X.500 directory work in 1988 and now profiled for the internet by RFC 5280, it defines a signed data structure that binds a public key to an identity. When your browser confirms a site, when Windows accepts a driver, or when a VPN authenticates a client, an X.509 certificate is what is being checked.
A certificate has three parts: the to-be-signed body, the signature algorithm identifier, and the signature itself. The body contains:
| Extension | What it controls |
|---|---|
| Subject Alternative Name | The domain names and IP addresses the certificate is valid for. Browsers have ignored the common name since Chrome 58 in 2017, so a missing SAN means failure |
| Basic Constraints | Whether this is a CA certificate and how deep the chain below it may go |
| Key Usage and Extended Key Usage | Whether the key may sign, encrypt, authenticate a server, sign code, or issue timestamps |
| Authority and Subject Key Identifier | Hints that let a verifier build the chain efficiently |
| CRL Distribution Points and Authority Information Access | Where to fetch revocation data and the issuing certificate |
| Name Constraints | Limits a subordinate CA to specific domains—the single most useful control for a private CA |
| Signed Certificate Timestamps | Proof of submission to Certificate Transparency logs |
The structure is defined in ASN.1 and serialised with Distinguished Encoding Rules, giving a binary DER file. PEM wraps that binary in Base64 between BEGIN and END markers, which is what most Linux tooling expects. PKCS#12, with a .pfx or .p12 extension, bundles a certificate with its private key and chain under a password, and is what Windows and Java estates usually exchange. PKCS#7 carries certificates without keys. A surprising share of deployment incidents come from giving a service the wrong one of these, or from a chain file assembled in the wrong order.
Failures here are expensive. An expired certificate inside Ericsson software took O2’s UK data network offline on 6 December 2018, affecting around 32 million customers. Microsoft Teams was unavailable for several hours in February 2020 for the same reason. Neither was an attack.
Domain Validated certificates prove only control of the name, and are issued automatically in seconds. Organisation Validated and Extended Validation certificates add checks on the legal entity. Since browsers removed the EV address bar indicator in 2019, the practical security difference for a visitor is minimal—attackers obtain DV certificates for lookalike domains freely, which is why a padlock proves encryption rather than honesty. The value of OV and EV now lies in internal policy and in some regulated contexts.
Keep an inventory with owner, issuer, expiry, key algorithm, and renewal method for every certificate, including the internal ones. Monitor Certificate Transparency logs for your domains to spot certificates nobody authorised. Automate issuance through ACME so renewal is not a calendar reminder. Alert on days remaining rather than on job success, and test what happens when a renewal fails. With public lifetimes falling towards 47 days by 2029, manual handling stops being viable—see short-lived certificates for the timetable.
At Privia Security, certificate inventory and chain validation form part of our Continuous Vulnerability Scanning Services, which flag expiring and weakly configured certificates before they fail.
DER is the raw binary encoding of the certificate structure. PEM is that same binary encoded in Base64 and wrapped in BEGIN and END lines, which makes it safe to paste into configuration files and email. They hold identical content, and OpenSSL converts between them in one command. File extensions are inconsistent, so check the first bytes rather than trusting the name.
The common name is a single free-text field with no structure, which made it ambiguous and exploitable through null-byte and wildcard tricks. The Subject Alternative Name extension holds a properly typed list of names and supports multiple entries. Browsers have required SAN since 2017 and ignore the common name entirely, so a certificate without SAN simply fails.
Yes. Listing several entries in the Subject Alternative Name extension produces a multi-domain certificate, and a wildcard entry covers one level of subdomain. The trade-off is blast radius: a single stolen private key then exposes every name on the certificate, and one renewal failure takes them all down together. Split high-value names onto their own certificates.
Name constraints restrict which domains a certificate authority may issue for, enforced by the verifying client rather than by policy. For a private CA this is valuable: constrain it to your internal namespace so that, even if the CA key is compromised, it cannot produce a trusted certificate for a public bank or email provider. Support is now good across major platforms.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.