<!-- https://pkizerotohero.com/pki-use-cases/ | Markdown mirror of the HTML page | PKI Zero to Hero, by Duyutech BV -->

> PKI use cases with real examples: HTTPS, mutual TLS, code signing, S/MIME email, eIDAS e-signatures, IoT devices, Wi-Fi, VPN and SSH.

Source: https://pkizerotohero.com/pki-use-cases/ · Last reviewed: 2026-10-20

PKI explained

# PKI use cases and examples

**The short answer:**

PKI use cases include every place where software must prove who is on the other end, or who signed something: HTTPS websites and APIs, mutual TLS between services, code signing, signed and encrypted email (S/MIME), legally recognised e-signatures, device and IoT identity, staff sign-in, Wi-Fi and VPN access, and SSH certificates.

Who it is for

- [Beginner](https://pkizerotohero.com/start/#beginner)
- [Leader](https://pkizerotohero.com/start/#leader)
- [Developer](https://pkizerotohero.com/start/#developer)
- [IT ops](https://pkizerotohero.com/start/#itops)
- [Expert](https://pkizerotohero.com/start/#expert)
- [Teacher](https://pkizerotohero.com/start/#teacher)

Level

Beginner

Reading time

About 9 minutes

Every use of [PKI](https://pkizerotohero.com/what-is-pki/) repeats the same three steps. A [certificate authority](https://pkizerotohero.com/handbook/glossary/#certificate-authority) signs a certificate that binds a public key to a name. The holder proves it has the matching [private key](https://pkizerotohero.com/handbook/glossary/#private-key) by making a [digital signature](https://pkizerotohero.com/handbook/glossary/#digital-signature). The verifier checks the signature and the certificate chain up to a root it already trusts ([how PKI works](https://pkizerotohero.com/how-does-pki-work/)). What changes from one use case to the next is who is named, what is signed, and who must trust the root.

## What is PKI used for?

| Use case | What the certificate proves | Usually issued by | Learn more |
| --- | --- | --- | --- |
| HTTPS websites and APIs | The server really has the name you asked for | A public CA | [TLS handshake](https://pkizerotohero.com/handbook/tls-handshake/) |
| Mutual TLS between services | Both client and server are who they claim | A private CA | [Mutual TLS](https://pkizerotohero.com/handbook/mutual-tls/) |
| Code and firmware signing | Who published the software, and that it is unchanged | A public CA, or your own CA for firmware | [Code signing](https://pkizerotohero.com/handbook/code-signing/) |
| Email (S/MIME) | Who sent the message | A public CA for outside email | [Email and documents](https://pkizerotohero.com/handbook/code-signing/) |
| Electronic signatures and seals | Who signed a document or which organisation sealed it | A qualified trust service provider in the EU | [Email and documents](https://pkizerotohero.com/handbook/code-signing/) |
| Device and IoT identity | The device is genuine, and it is yours | The manufacturer’s CA, then a private CA | [Device identity](https://pkizerotohero.com/handbook/device-identity/) |
| Staff sign-in, Wi-Fi and VPN | The user or laptop is enrolled | A private CA | [A CA of your own](https://pkizerotohero.com/handbook/private-ca/) |
| SSH certificates | Host and user keys are vouched for | Your own SSH CA | [SSH certificates](https://pkizerotohero.com/guides/ssh-certificates/) |

*Diagram: A map with PKI in the centre, where a CA vouches for keys. Around it, eight use cases, each with what its certificate proves: HTTPS proves the server's name; mutual TLS proves both ends; code signing proves who published the software; S/MIME email proves who sent it; e-signatures prove who signed and when; devices and IoT prove a genuine device; Wi-Fi and VPN prove an enrolled user or laptop; SSH certificates vouch for hosts and users.*

One mechanism, many jobs: in each case a CA vouches for a key, and the key holder proves it by signing.

## How does PKI secure websites and APIs?

This is the use case almost everyone meets every day. When you open `https://` in a browser, or an app calls an API, the server sends its certificate and the intermediate certificates above it. The client checks four things: the chain leads to a root in its [trust store](https://pkizerotohero.com/handbook/glossary/#trust-store), every signature in the chain is valid, the dates are current, and the name you asked for is in the certificate’s [Subject Alternative Name](https://pkizerotohero.com/handbook/glossary/#subject-alternative-name). Then the server proves it holds the private key by signing the handshake.

The certificate does not encrypt your traffic. In TLS 1.3, client and server agree fresh session keys with an ephemeral key exchange (ECDHE), and the certificate’s key only authenticates the server ([the TLS 1.3 handshake](https://pkizerotohero.com/handbook/tls-handshake/), and [PKI vs TLS](https://pkizerotohero.com/pki-vs-tls/) for how the two fit together).

Websites use publicly trusted certificates, renewed automatically with ACME ([certbot guide](https://pkizerotohero.com/guides/certbot-lets-encrypt/)). Paste any certificate into the [decoder](https://pkizerotohero.com/tools/decoder/) to see the names and dates a browser checks.

## How does mutual TLS secure services and APIs?

In ordinary TLS only the server shows a certificate. In [mutual TLS](https://pkizerotohero.com/handbook/glossary/#mutual-tls) the client does too, and proves it holds the matching key, so both ends are authenticated before any data flows. You meet it in three places:

- **Inside data centres and Kubernetes clusters**, where a [service mesh](https://pkizerotohero.com/handbook/glossary/#service-mesh) gives every workload a short-lived certificate and encrypts every call between services. Kubernetes itself “requires PKI certificates for authentication over TLS” between its own components ([Kubernetes documentation](https://kubernetes.io/docs/setup/best-practices/certificates/)).
- **In business-to-business and payment APIs**, where each partner’s system authenticates with a client certificate.
- **On devices** that call home to their manufacturer’s cloud.

Client certificates normally come from a private CA. Public TLS certificates are becoming server-only: from 15 March 2027, TLS certificates that chain to the Chrome Root Store must list only the TLS server authentication purpose ([mutual TLS](https://pkizerotohero.com/handbook/mutual-tls/), [set up mutual TLS](https://pkizerotohero.com/guides/mutual-tls-setup/)).

## How does code signing use PKI?

When a publisher releases software, it signs a hash of the file with its private key and attaches the signature and its certificate. Before installing or running the file, Windows, macOS, a package manager or a firmware loader checks the signature and the chain. A trusted timestamp, added at signing time, keeps the signature valid after the certificate expires.

A valid signature proves two things: who signed the file, and that nobody changed it since. It does not prove the software is safe. That is why the signing key matters so much: the private keys of publicly trusted code signing certificates must be generated, stored and used in a hardware crypto module (since 1 June 2023). Open-source projects increasingly use “keyless” signing with Sigstore, where a short-lived certificate, valid for 10 minutes, ties each signature to a verified identity and is recorded in a public log ([code signing](https://pkizerotohero.com/handbook/code-signing/), [sign with signtool and cosign](https://pkizerotohero.com/guides/code-signing-signtool-cosign/)).

## How does S/MIME secure email?

[S/MIME](https://pkizerotohero.com/handbook/glossary/#s-mime) ([RFC 8551](https://www.rfc-editor.org/rfc/rfc8551)) uses certificates that name an email address. Signing and encrypting are separate jobs:

- **A signature** is made with the sender’s private key, and proves who sent the message and that it was not changed.
- **Encryption** uses the public key in the *recipient’s* certificate, so only the recipient’s private key can open the message. You need their certificate before you can send them encrypted mail.

Publicly trusted S/MIME certificates have their own rulebook: the CA/Browser Forum S/MIME Baseline Requirements apply to every publicly trusted S/MIME certificate (since 1 September 2023). Many organisations also issue S/MIME certificates to staff from a private CA for internal mail.

## How do electronic signatures use PKI in the EU?

Signed PDFs and contracts use the same mechanism with a legal layer on top. The EU’s eIDAS Regulation ([Regulation (EU) No 910/2014](https://eur-lex.europa.eu/eli/reg/2014/910/oj)) defines three levels of electronic signature: simple, advanced and qualified. A [qualified electronic signature](https://pkizerotohero.com/handbook/glossary/#qualified-electronic-signature) needs a qualified certificate from a qualified trust service provider and a qualified signature creation device, and the regulation is explicit: a qualified electronic signature shall have the equivalent legal effect of a handwritten signature (Regulation (EU) No 910/2014, Article 25(2)).

eIDAS also covers:

- **Electronic seals**, the organisation’s equivalent of a signature, used on invoices and official documents.
- **Qualified electronic time stamps**, which carry a legal presumption that their date and time are accurate, so a signature can still be checked long after the signer’s certificate has expired.
- **Website authentication.** Under Regulation (EU) 2024/1183 (eIDAS 2.0), web browsers must recognise qualified certificates for website authentication (QWACs) and show the identity data in them in a user-friendly way (Regulation (EU) 2024/1183, Article 45(1a)).

The same update introduces the European Digital Identity Wallet. Each member state must provide at least one wallet within 24 months after the implementing acts (Article 5a); in the European Commission’s summary, by the end of 2026 ([email and documents](https://pkizerotohero.com/handbook/code-signing/)).

## How do devices and IoT use PKI?

A device certificate is a machine’s passport. At the factory, the device generates a key pair inside a secure chip, such as a [TPM](https://pkizerotohero.com/handbook/glossary/#tpm) or [secure element](https://pkizerotohero.com/handbook/glossary/#secure-element), and the manufacturer’s CA issues an [IDevID](https://pkizerotohero.com/handbook/glossary/#idevid) certificate (IEEE 802.1AR-2018). When the device reaches its owner, the owner’s systems check that factory certificate, then issue their own [LDevID](https://pkizerotohero.com/handbook/glossary/#ldevid) for daily use.

You meet this pattern in network equipment, industrial sensors, payment terminals and cars. It also runs in your living room: every certified Matter smart-home device carries a Device Attestation Certificate, and your phone or hub checks it before the device joins your home network ([device identity](https://pkizerotohero.com/handbook/device-identity/)).

## How do people sign in with certificates?

Inside organisations, certificates often replace or strengthen passwords:

- **Wi-Fi and wired networks** with 802.1X and EAP-TLS: each managed laptop or phone presents a certificate from the company’s private CA, and no shared network password exists to leak.
- **VPNs**, which accept only devices that hold a valid company certificate.
- **Smart cards and Windows certificate sign-in**, where the private key stays on a card or in the laptop’s TPM. Windows domain controllers have tightened the rules here: since February 2025, domain controllers deny certificate sign-in when a certificate cannot be strongly mapped to an account.

These certificates come from a private CA, often Active Directory Certificate Services, enrolled automatically to managed devices ([a CA of your own](https://pkizerotohero.com/handbook/private-ca/)).

## What are other PKI use cases?

- **SSH certificates.** Instead of trusting each server key on first use, your own SSH CA signs host and user keys, and short-lived user certificates replace long-lived authorised keys ([SSH certificates guide](https://pkizerotohero.com/guides/ssh-certificates/)).
- **TLS inspection.** Corporate proxies use a private root, installed on company laptops, to inspect encrypted traffic ([working behind a corporate proxy](https://pkizerotohero.com/guides/corporate-proxy-certificates/)).
- **Identity documents.** Electronic passports and many national identity cards carry signed data on their chip, so border and identity systems can check that it was issued by the right authority and not altered.
- **Timestamping.** A timestamping authority signs a hash and a time, proving that a document or a signature existed at that moment ([code signing](https://pkizerotohero.com/handbook/code-signing/)).

## Which industries rely on PKI?

Every industry that runs software uses PKI for HTTPS. Some lean on it far more:

- **Finance and payments:** mutual TLS between banks, partners and payment providers, with keys protected in HSMs.
- **Manufacturing, automotive and energy:** device identity from the factory floor, and signed firmware for over-the-air updates.
- **Government and public services:** electronic identity cards, passports, and qualified electronic signatures and seals.
- **Healthcare:** identity for connected medical devices, and protected exchange of records between providers.
- **Software and cloud:** code signing for every release, mutual TLS in service meshes, and the cluster CA that every Kubernetes cluster’s components rely on.

## Which use cases need a public CA, and which a private one?

The rule is simple: if people or devices you do not manage must trust the certificate, you need a public CA, or for EU legal signatures, a qualified trust service provider. If only your own systems must trust it, a private CA is usually the better fit, because you control the names, the lifetimes and the rules. Most organisations run both. [Public vs private PKI](https://pkizerotohero.com/public-vs-private-pki/) walks through the decision.

## Where to go next

- **The big picture:** [What is PKI?](https://pkizerotohero.com/what-is-pki/) explains public key infrastructure from the start, and [what is a digital certificate?](https://pkizerotohero.com/what-is-a-digital-certificate/) shows what a certificate contains.
- **Run it well:** [PKI architecture](https://pkizerotohero.com/pki-architecture/) and the [PKI best practices](https://pkizerotohero.com/pki-best-practices/) checklist.
- **The chapters behind each use case:** [the TLS handshake](https://pkizerotohero.com/handbook/tls-handshake/), [mutual TLS](https://pkizerotohero.com/handbook/mutual-tls/), [code and document signing](https://pkizerotohero.com/handbook/code-signing/) and [device identity](https://pkizerotohero.com/handbook/device-identity/).
- **In 90 minutes:** the crash course lesson [Beyond the browser](https://pkizerotohero.com/course/beyond-the-browser/).

## Frequently asked questions

### What is the most common use of PKI?

HTTPS. Whenever a browser or an app connects to a website or an API over TLS, the server presents a certificate and proves that it holds the matching private key. The client checks the certificate chain against its trust store and the name against the address it asked for, so it knows it reached the real server before any data is sent. Almost every connection your browser makes works this way.

### What is an example of PKI in everyday life?

Opening your bank's website: before you type a password, your browser checks the bank's certificate chain against the roots it already trusts. Other everyday examples are the signature that lets your phone or computer install a software update, the certificate a company laptop uses to join the office Wi-Fi without a shared password, and the signed data on the chip of an electronic passport or identity card.

### Is PKI only used for websites?

No. Websites are the most visible use, but the same certificates and chains secure traffic between services with mutual TLS, sign software and firmware, sign and encrypt email, create legally recognised electronic signatures, identify devices for their whole life, and let staff sign in with smart cards or join Wi-Fi and VPNs. Many of these run on private PKIs that the public never sees.

### Does Wi-Fi use PKI?

Enterprise Wi-Fi often does. With 802.1X and EAP-TLS, each laptop or phone presents a client certificate from the organisation's private CA, and the device checks the network's certificate too, so there is no shared password to leak. Home Wi-Fi with one password does not use PKI: everyone shares one secret, which is the key-distribution problem that public-key cryptography helps to solve.

### Is SSH a form of PKI?

Plain SSH is not: each client trusts each server key the first time it connects and keeps it in a known\_hosts file. OpenSSH also supports SSH certificates, where your own SSH CA signs host and user keys, so clients trust any host the CA signed and servers accept short-lived user certificates. They are not X.509 certificates, but they follow the same idea: a trusted authority vouches for keys.

### Do these use cases need a public or a private CA?

It depends on who must trust the certificate. Public websites, software distributed to the public and email to outside recipients need publicly trusted certificates. Mutual TLS between your own services, device identity, staff sign-in, Wi-Fi and VPN usually use a private CA, because only your own systems need to trust it, and publicly trusted TLS certificates are not meant for those jobs.

**Early edition.** Written with AI assistance and checked against primary sources; an independent expert review is planned. Found a mistake? [Tell us](https://pkizerotohero.com/contact/?topic=content-error&page=/pki-use-cases/).

Last reviewed 20 October 2026Edition 0.9

## Keep going

### In depth: handbook chapters

- [Chapter 15: The TLS 1.3 handshake](https://pkizerotohero.com/handbook/tls-handshake/)
- [Chapter 23: Both sides show ID: mutual TLS](https://pkizerotohero.com/handbook/mutual-tls/)
- [Chapter 24: Signed and sealed: code and document signing](https://pkizerotohero.com/handbook/code-signing/)
- [Chapter 25: Machines with passports: device identity](https://pkizerotohero.com/handbook/device-identity/)
- [Chapter 12: Who do we trust? CAs, trust stores and self-signed certificates](https://pkizerotohero.com/handbook/trust-stores/)
- [Chapter 22: A CA of your own: private two-tier PKI](https://pkizerotohero.com/handbook/private-ca/)

### Do it: how-to guides

- [How to set up mutual TLS (nginx and curl)](https://pkizerotohero.com/guides/mutual-tls-setup/)
- [How to sign code with signtool and cosign](https://pkizerotohero.com/guides/code-signing-signtool-cosign/)
- [How to use SSH certificates instead of known\_hosts](https://pkizerotohero.com/guides/ssh-certificates/)
- [How to get and renew Let's Encrypt certificates with certbot](https://pkizerotohero.com/guides/certbot-lets-encrypt/)

### Check yours: tools

- [Certificate decoder](https://pkizerotohero.com/tools/decoder/): Paste a PEM certificate and read every field in plain words.

### Topics

- [Hashes and signatures](https://pkizerotohero.com/topics/signing/)

### More PKI explained

- [What is PKI? Public key infrastructure explained](https://pkizerotohero.com/what-is-pki/)
- [How does PKI work? Step by step](https://pkizerotohero.com/how-does-pki-work/)
- [PKI components: CA, RA, repositories, revocation and more](https://pkizerotohero.com/pki-components/)
- [What is a digital certificate?](https://pkizerotohero.com/what-is-a-digital-certificate/)
- [What is a certificate authority (CA)?](https://pkizerotohero.com/what-is-a-certificate-authority/)
- [PKI vs TLS (and SSL): how they fit together](https://pkizerotohero.com/pki-vs-tls/)
- [Public vs private PKI: which do you need?](https://pkizerotohero.com/public-vs-private-pki/)
- [PKI architecture: one-, two- and three-tier hierarchies](https://pkizerotohero.com/pki-architecture/)
- [PKI best practices: a checklist](https://pkizerotohero.com/pki-best-practices/)
- [PKI interview questions and answers](https://pkizerotohero.com/pki-interview-questions/)
- [Security+ PKI: certificates, CAs and keys](https://pkizerotohero.com/security-plus-pki/)
