Digital certificate

Also known as: public key certificate

On this page 7

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.

FieldContentWhy it matters
SubjectIdentity of the certificate holderStates who the key belongs to
Subject alternative nameList of domain names or IP addressesBrowsers match the hostname here
IssuerName of the signing authorityLinks the certificate into its chain
Validity periodNot-before and not-after datesLimits how long a key is trusted
Public keyRSA or elliptic curve keyUsed to verify the holder’s signatures
Key usage and extended key usagePermitted purposesRestricts use to server, client or code signing
SignatureIssuer’s signature over all fieldsProves integrity and origin
Key fields in an X.509 certificate

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.

LevelWhat is verifiedTypical issuance timeCommon use
Domain ValidationControl of the domain onlySeconds to minutesMost websites and APIs
Organization ValidationDomain plus legal organizationOne to several daysCorporate sites and portals
Extended ValidationStrict legal and operational checksSeveral days or longerRegulated or high-profile brands
Validation levels for TLS certificates

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.

StageMain activityTypical risk
Key generationCreate the private and public keyWeak keys or exposed private key
Request and validationSubmit the signing request, prove controlMisissuance after weak validation
Issuance and loggingAuthority signs and logs to certificate transparencyUndetected rogue certificates
DeploymentInstall certificate and full chainMissing intermediate certificate
RenewalReplace before expiryOutage from an expired certificate
RevocationWithdraw trust earlyClients that do not check status
Stages of the certificate lifecycle

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.

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.

MechanismPurposeRelation to certificates
PKIOverall system of authorities and policiesFramework in which certificates exist
Certificate transparencyPublic logs of issued certificatesExposes misissued certificates
HSTSForces browsers to use HTTPSEnsures the certificate is always checked
DANEPublishes certificate data in DNSSECAlternative or extra trust anchor
Certificate pinningAccepts only specific keysNarrows trust beyond the CA system
Certificates and complementary mechanisms

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.