A digital certificate, also called a public key certificate, is a digitally signed data structure that binds a public key to an identity, such as a domain name, an organization, a person or a device. In Internet trust, certificates are the mechanism that lets a browser confirm it is talking to the genuine server for a domain, because a trusted certificate authority has vouched for that binding with its own signature.
Almost all certificates on the Internet follow the X.509 version 3 format and operate inside a public key infrastructure, or PKI. They underpin HTTPS, email signing, code signing, VPN authentication and mutual TLS between services.
How a digital certificate establishes trust
A certificate works through asymmetric cryptography. The subject keeps a private key secret and publishes the matching public key inside the certificate. A certificate authority checks the subject’s claim, then signs the certificate contents with the authority’s own private key, so anyone holding the authority’s public key can verify that the document has not been altered.
Verification follows a certificate chain. The server presents its end-entity certificate plus one or more intermediate certificates, and the client walks the chain upward until it reaches a root certificate already stored in its trust store. During the TLS handshake the server must also prove possession of the private key by signing handshake data, which prevents a stolen certificate file alone from being useful.
The table lists the most important fields of an X.509 certificate and what each one controls.
| Field | Content | Why it matters |
|---|---|---|
| Subject | Identity of the certificate holder | States who the key belongs to |
| Subject alternative name | List of domain names or IP addresses | Browsers match the hostname here |
| Issuer | Name of the signing authority | Links the certificate into its chain |
| Validity period | Not-before and not-after dates | Limits how long a key is trusted |
| Public key | RSA or elliptic curve key | Used to verify the holder’s signatures |
| Key usage and extended key usage | Permitted purposes | Restricts use to server, client or code signing |
| Signature | Issuer’s signature over all fields | Proves integrity and origin |
Types of digital certificates
Certificates are classified both by purpose and by the level of identity validation performed before issuance. For publicly trusted TLS certificates, the validation levels are defined by the Baseline Requirements of the CA/Browser Forum, which every public authority must follow.
The following table compares the validation levels used for website certificates.
| Level | What is verified | Typical issuance time | Common use |
|---|---|---|---|
| Domain Validation | Control of the domain only | Seconds to minutes | Most websites and APIs |
| Organization Validation | Domain plus legal organization | One to several days | Corporate sites and portals |
| Extended Validation | Strict legal and operational checks | Several days or longer | Regulated or high-profile brands |
Beyond validation level, certificates differ in scope and purpose. A wildcard certificate covers all first-level subdomains of a domain, a multi-domain certificate lists several names, a client certificate authenticates a user or service in mutual TLS, and code signing certificates confirm the publisher of software. A self-signed certificate carries no external endorsement, so clients accept it only after an administrator deliberately adds it to their trust store.
The certificate lifecycle
Every certificate passes through request, validation, issuance, deployment, renewal and possibly revocation. The process begins when the subject generates a key pair and sends a certificate signing request containing the public key and the requested names. Automated authorities such as Let’s Encrypt use the ACME protocol, often through clients like Certbot, to validate control of the domain and issue certificates without human involvement.
The table summarizes each stage and the main risk at that point.
| Stage | Main activity | Typical risk |
|---|---|---|
| Key generation | Create the private and public key | Weak keys or exposed private key |
| Request and validation | Submit the signing request, prove control | Misissuance after weak validation |
| Issuance and logging | Authority signs and logs to certificate transparency | Undetected rogue certificates |
| Deployment | Install certificate and full chain | Missing intermediate certificate |
| Renewal | Replace before expiry | Outage from an expired certificate |
| Revocation | Withdraw trust early | Clients that do not check status |
Revocation status is published through certificate revocation lists and the Online Certificate Status Protocol, or OCSP. Because live checks are slow and often fail open, the industry increasingly relies on short certificate lifetimes: public TLS certificates are limited to 398 days, and the CA/Browser Forum has approved a gradual reduction toward 47 days by 2029.
Digital certificates compared with related trust mechanisms
A digital certificate is one building block among several that together create trust on the Internet. It proves identity at a moment in time, while other mechanisms enforce its use, monitor its issuance or offer alternative trust anchors.
| Mechanism | Purpose | Relation to certificates |
|---|---|---|
| PKI | Overall system of authorities and policies | Framework in which certificates exist |
| Certificate transparency | Public logs of issued certificates | Exposes misissued certificates |
| HSTS | Forces browsers to use HTTPS | Ensures the certificate is always checked |
| DANE | Publishes certificate data in DNSSEC | Alternative or extra trust anchor |
| Certificate pinning | Accepts only specific keys | Narrows trust beyond the CA system |
Common mistakes and misconceptions about digital certificates
The most frequent operational failure is the expired certificate, which causes immediate browser errors and broken API connections. Automated renewal and expiry monitoring prevent nearly all such incidents. Another common error is serving only the end-entity certificate without its intermediates, which works in some browsers and fails in others.
- A padlock does not mean a site is honest: it only confirms an encrypted connection to the named domain.
- Higher validation levels do not add encryption strength; the cryptography is the same for all levels.
- Leaked private keys require revocation and reissuance, not merely renewal with the same key.
- Self-signed certificates are not insecure by nature, but they need a controlled way to distribute trust.
Key management deserves particular care. Private keys for high-value certificates are best kept in hardware security modules or managed key services, and an inventory of all certificates helps teams avoid forgotten certificates on internal systems that expire unnoticed.
Put simply
A digital certificate is like an electronic identity card for a website or a service. It says who the owner is and carries a special key that only works with the owner’s secret counterpart.
A trusted organization stamps the card after checking the claim, and your browser already knows which stamps to trust. When everything matches, you see a secure connection. The certificate proves who you are talking to, not whether that party is honest.
In practice
An online retailer with 30 hostnames runs its shop, a customer account area and an internal order API. Before an audit, the operations team discovers certificates bought manually from different providers, several expiring within weeks and two missing intermediate certificates on load balancers.
The team moves all public hostnames to Domain Validation certificates issued through ACME, renewed automatically every 60 days, and uses mutual TLS with an internal certificate authority for the order API. Expiry alerts are set at 21 days. Over the following year the retailer records zero certificate-related outages, and adding a new hostname now takes minutes instead of a purchasing process.