ELI5: What are Certificates?

Think of a digital certificate like a school ID card. The school (a trusted authority) creates the card with your name and photo so everyone knows you are who you say you are. On the internet, certificates work the same way — a trusted organization creates a digital ID that proves a website or person is real. Without it, you would never know if you were talking to the real website or a fake one pretending to be it.

Overview

A digital certificate is an electronic document that uses a digital signature to bind a public key with an identity (person, server, organization). Certificates are issued by a trusted Certificate Authority (CA) and follow the X.509 standard. They enable HTTPS, email encryption (S/MIME), code signing, client authentication, and VPN connections.

Key Concepts

  • X.509 certificate fields: subject, issuer, serial number, validity period, public key, signature algorithm, extensions
  • Certificate types by validation:
    • Domain Validation (DV) — verifies domain ownership only; quickest and cheapest
    • Organization Validation (OV) — verifies domain + organization identity
    • Extended Validation (EV) — highest assurance; rigorous identity verification
  • Certificate types by usage:
    • Wildcard (*.example.com) — covers all subdomains of a domain; if compromised, all subdomains are affected
    • SAN (Subject Alternative Name) — a single certificate covering multiple specific domains
    • Self-signed — signed by the entity itself, not a trusted CA; used internally for testing
    • Code signing — verifies software publisher identity and code integrity
    • Email / S/MIME — encrypts and signs email messages
    • Client certificate — authenticates users or devices to servers
  • Certificate lifecycle: request (CSR), issuance, usage, renewal, revocation
  • CSR (Certificate Signing Request) — generated by the applicant; contains the public key and identity information
  • Revocation: CRL or OCSP; reasons include key compromise, CA compromise, or affiliation change
  • Certificate formats: PEM (.pem, .crt), DER (.der), PKCS#12 (.pfx, .p12), PKCS#7 (.p7b)

Exam Tips

Remember

Wildcard covers *.domain.com but NOT the root domain itself. SAN certificates list specific domains. DV = domain only, EV = highest trust. Self-signed certificates are NOT trusted by browsers by default. CSR contains the public key, never the private key.

Connections

  • Issued and managed by pki infrastructure including CAs and RAs
  • Contains the public key used for encryption and digital signature operations
  • See also key-management for how the private keys associated with certificates are protected

Practice Questions

Scenario

See case-certificates for a practical DevOps scenario applying these concepts.