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

> Public vs private PKI compared: who trusts each, the rules, names, lifetimes and risks, and a simple way to decide which one each system needs.

Source: https://pkizerotohero.com/public-vs-private-pki/ · Last reviewed: 2026-10-20

PKI explained

# Public vs private PKI

**The short answer:**

Public vs private PKI comes down to who must trust your certificates. A public PKI uses certificate authorities that every browser and operating system already trusts, under strict shared rules. A private PKI is your own CA, trusted only by devices you configure. Use public certificates for anything outsiders reach, and private ones for internal services, devices and people.

Who it is for

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

Level

Practitioner

Reading time

About 10 minutes

Every [public key infrastructure](https://pkizerotohero.com/handbook/glossary/#public-key-infrastructure) answers one question for a client: should I believe this certificate? The client says yes only if the certificate chains to a root in its own [trust store](https://pkizerotohero.com/handbook/glossary/#trust-store). Public and private [PKI](https://pkizerotohero.com/what-is-pki/) differ in one thing: whose trust stores hold the root. That one difference decides everything else: the rules, the names you can use, the lifetimes, the cost and who carries the risk.

## What is the difference between public and private PKI?

|  | Public PKI | Private PKI |
| --- | --- | --- |
| **Who trusts it** | Every mainstream browser, operating system and runtime, out of the box | Only devices and software where you installed the root |
| **Who sets the rules** | The root programs of Mozilla, Chrome, Apple and Microsoft, and the CA/Browser Forum | Your own certificate policy (CP) and practice statement (CPS) |
| **Which names** | Public domain names and public IP addresses that the CA can validate | Anything you define: internal names, users, devices, services |
| **How names are checked** | Domain control (DV), plus the organisation for OV and EV | Whatever your policy says, often taken from your directory |
| **Lifetimes** | Capped by the Baseline Requirements, and shrinking | Set by you |
| **Visibility** | TLS certificates are logged in public Certificate Transparency logs, because browsers require it | Not logged; your names stay private |
| **Audits** | Independent audits every year (WebTrust or ETSI) | Internal or external audits, as your policy and regulators require |
| **Who carries the risk** | The CA for issuing correctly; you for your keys and renewals | You, for everything |

The rest of this page explains both columns and how to choose.

## What is a public PKI?

A public PKI is the set of commercial and non-profit [certificate authorities](https://pkizerotohero.com/what-is-a-certificate-authority/) whose roots have been accepted by the big [root programs](https://pkizerotohero.com/handbook/glossary/#root-program): Mozilla, Chrome, Apple and Microsoft ([how roots get into trust stores](https://pkizerotohero.com/handbook/trust-stores/)). Those roots ship with every browser and operating system, so a certificate from such a CA works for anyone, anywhere, without any set-up.

That reach comes with strict rules. The CA/Browser Forum’s [Baseline Requirements](https://cabforum.org/working-groups/server/baseline-requirements/requirements/) say how a CA must check names, protect its keys and run its systems, and each root program adds its own policy, such as the [Chrome Root Program Policy](https://googlechrome.github.io/chromerootprogram/crp/policy/), which also requires a full audit at least once a year. In practice:

- **The CA checks that you control every name** in the certificate, with an HTTP file, a DNS record or a TLS response ([domain validation](https://pkizerotohero.com/handbook/domain-validation/)). Since 15 March 2025, CAs must repeat domain validation and CAA checks from several network locations.
- **Your DNS can limit which CAs may issue** for your domain, with CAA records: CAs must check CAA records before issuing since 8 September 2017.
- **Every certificate is public.** Chrome, Apple’s platforms and Firefox on desktop accept a public TLS certificate only if it was logged in [Certificate Transparency](https://pkizerotohero.com/handbook/glossary/#certificate-transparency), so in practice each certificate, and every name in it, appears in public logs ([Certificate Transparency](https://pkizerotohero.com/handbook/certificate-transparency/)).
- **Lifetimes are capped and shrinking.** Publicly trusted TLS certificates issued from 15 March 2026 may last at most 200 days, falling to 47 days from 15 March 2029.
- **A CA that breaks the rules can be distrusted.** Root programs then remove it, and its customers must move to another CA ([famous failures](https://pkizerotohero.com/handbook/famous-failures/)).

Public CAs issue only for names they can check on the public internet. They will not issue for `intranet.corp` or `db01.internal`, and their TLS certificates are not meant to identify a person, a laptop or a microservice.

## What is a private PKI?

A [private CA](https://pkizerotohero.com/handbook/glossary/#private-ca) is a certificate authority that you run yourself, or rent as a managed service, and whose root certificate you distribute only to your own devices: through Group Policy, a device-management profile, a container image or configuration management. Nobody else trusts it. That is the point: your CA cannot issue a certificate that the whole internet would accept.

Inside that boundary you make the rules. Your [certificate policy](https://pkizerotohero.com/handbook/glossary/#certificate-policy) says which names, key types, lifetimes and purposes are allowed, and who may request what. A well-run private PKI copies the architecture of public CAs: an offline root, one or more online issuing CAs, keys in hardware and written procedures ([PKI architecture](https://pkizerotohero.com/pki-architecture/)).

Common ways to run one:

- **Active Directory Certificate Services (AD CS)** in Windows networks, which enrols computers and users automatically from certificate templates.
- **A managed private CA** from a cloud provider, which runs the HSMs and the availability for you. [AWS Private CA](https://docs.aws.amazon.com/privateca/latest/userguide/PcaWelcome.html) is one example; you still own the policy.
- **An open-source CA that speaks ACME**, such as smallstep’s step-ca, so internal services renew the same way public ones do ([ACME for internal names](https://pkizerotohero.com/handbook/acme/)).
- **A service-mesh CA**, which gives every workload a short-lived certificate for mutual TLS.

The price is distribution and ownership. Every client that talks to an internal service needs your root, and many runtimes keep their own trust store: a root installed in Windows does nothing for Python `requests` or a Java application ([which store does my software use?](https://pkizerotohero.com/handbook/trust-stores/)). A missing root is behind many errors such as [`x509: certificate signed by unknown authority`](https://pkizerotohero.com/errors/go-x509-unknown-authority/) and [`self-signed certificate in certificate chain`](https://pkizerotohero.com/errors/curl-self-signed-certificate-in-certificate-chain/). The fix is always to install the root, never to switch verification off.

## When do you need a public certificate?

Use a publicly trusted certificate whenever the other side is not under your control:

- **Public websites and APIs** that customers, partners and their browsers reach. Get these from a public CA with [ACME](https://pkizerotohero.com/handbook/acme/), so they renew by themselves ([certbot guide](https://pkizerotohero.com/guides/certbot-lets-encrypt/)).
- **Email signed for people outside your organisation** with S/MIME, where their mail programs must trust your certificate. Here, the CA/Browser Forum S/MIME Baseline Requirements apply to every publicly trusted S/MIME certificate (since 1 September 2023).
- **Software you distribute to the public**, which needs a publicly trusted code-signing certificate with its key in hardware ([code signing](https://pkizerotohero.com/handbook/code-signing/)).
- **Documents that must carry legal weight between organisations**, such as EU qualified electronic signatures, which need a certificate from a qualified trust service provider ([PKI use cases](https://pkizerotohero.com/pki-use-cases/)).

## When should you use a private PKI?

Use a private CA when the names, identities or purposes belong to you alone:

- **Internal names** that do not exist in public DNS, such as `intranet.corp` or `payments.svc.cluster.local`.
- **Mutual TLS** between your services, or with partners who agree to trust your client CA. Public TLS hierarchies 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, and Let's Encrypt certificates no longer include the TLS client authentication purpose (from 11 February 2026 for the default profile, and 8 July 2026 for the last opt-in profile). A dedicated client CA also means that a valid chain already says “one of ours” ([mutual TLS](https://pkizerotohero.com/handbook/mutual-tls/)).
- **Devices:** laptops, phones, Wi-Fi access points and IoT devices that prove their identity to the network, for example with 802.1X ([device identity](https://pkizerotohero.com/handbook/device-identity/)).
- **People:** smart-card and Windows certificate sign-in, and staff access to VPN and Wi-Fi.
- **Short-lived workload identities** in Kubernetes and service meshes, valid for hours or a day and renewed automatically.
- **TLS-inspection proxies**, whose private root lets the company proxy inspect traffic on managed laptops ([working behind a corporate proxy](https://pkizerotohero.com/guides/corporate-proxy-certificates/)).

## Can you use public and private PKI together?

Yes, and most organisations do. A typical split looks like this:

- **Public certificates, renewed by ACME,** on everything that faces the internet: websites, public APIs, the outside of load balancers and mail servers.
- **A private two-tier PKI** for internal TLS, mutual TLS, devices, users and the inspection proxy.
- **A public code-signing certificate**, its key in an HSM or a signing service, for released software.

Three rules keep the two worlds apart:

1. **Never ask outsiders to install your root.** If a partner must trust your CA, give them an issuing CA whose certificate carries [Name Constraints](https://pkizerotohero.com/handbook/glossary/#name-constraints) limited to your own names, so that clients which enforce the constraint reject anything it signs for other names ([private CA](https://pkizerotohero.com/handbook/private-ca/)).
2. **Keep internal names out of public certificates.** Everything in a public certificate is published in CT logs, so a name such as `vpn-admin.example.com` becomes visible to everyone the moment it is issued.
3. **Watch both.** You can [monitor CT](https://pkizerotohero.com/guides/monitor-certificate-transparency/) for public certificates. Private certificates appear in no public log, so your own inventory is the only list of them ([certificate lifecycle](https://pkizerotohero.com/handbook/certificate-lifecycle/)).

## Is a private PKI less secure than a public one?

Not by design. Each is as strong as the way it is run. Public CAs work under outside pressure: audits, CT logs and root programs make their mistakes visible. A private CA gets none of that unless you build it in. The usual weak points are:

- an online root CA, or CA keys kept in files instead of an HSM ([guarding the keys](https://pkizerotohero.com/handbook/hsm-and-key-ceremonies/));
- templates that let requesters choose any subject name, which can let an insider impersonate others, including administrators;
- no inventory and no monitoring, so internal certificates expire without warning;
- clients that skip verification “because it is internal”, which removes the protection completely.

With an offline root, hardware-protected keys, names taken from your directory, short lifetimes and monitoring, a private PKI is as strong as a public one for its purpose.

Public PKI has risks of its own. You depend on a CA that can be distrusted: for example, from 12 November 2024, Chrome stopped trusting new Entrust TLS certificates (those first logged in Certificate Transparency after 11 November 2024). You do not control the renewal pace, which the CA/Browser Forum sets. And every name you certify becomes public.

## Public vs private PKI: how do you decide?

Ask who must trust the certificate, then whether you can run a CA for years.

*Diagram: A decision flow. The first question is who must trust the certificate. If anyone must, such as browsers, customers or the public, the answer is a public CA, marked with a tick: public names only, renewed with ACME, logged in CT. If only devices and services you manage must, the next question is whether you can staff a CA for years. If yes, run your own private CA, marked with a tick: an offline root plus an issuing CA. If no, use a managed private CA, marked with a tick: the provider runs the HSMs and you set the policy. A note says partners can use public certificates, or a private CA limited to your names.*

Who must trust it decides public or private. Who will run it decides how.

1. **Who must trust it?** If the answer includes anyone you do not manage, use a public CA. If only your own devices, services and people must trust it, a private CA fits.
2. **Can a public CA issue it at all?** Internal names, user and device identities and client-only certificates rule out a public CA.
3. **Who will run it?** A private CA needs key custodians, ceremonies, a CRL schedule, monitoring and backups for as long as its root lives. If you cannot staff that, use a managed private CA and keep ownership of the policy.

## 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 certificate authority?](https://pkizerotohero.com/what-is-a-certificate-authority/) covers the CA itself.
- **Design a private PKI:** [PKI architecture](https://pkizerotohero.com/pki-architecture/) compares one-, two- and three-tier hierarchies, and [PKI best practices](https://pkizerotohero.com/pki-best-practices/) gives the checklist for running one.
- **The chapters behind this page:** [trust stores](https://pkizerotohero.com/handbook/trust-stores/), [a private CA of your own](https://pkizerotohero.com/handbook/private-ca/), [domain validation](https://pkizerotohero.com/handbook/domain-validation/), [mutual TLS](https://pkizerotohero.com/handbook/mutual-tls/) and [device identity](https://pkizerotohero.com/handbook/device-identity/).
- **Hands-on:** [run a lab CA with step-ca](https://pkizerotohero.com/guides/private-ca-step-ca/), then trust its root on [Windows](https://pkizerotohero.com/guides/add-root-ca-windows/) or [Linux](https://pkizerotohero.com/guides/add-root-ca-linux/), and check a chain with the [chain checker](https://pkizerotohero.com/tools/chain/).
- **In 90 minutes:** the crash course lesson [Running PKI](https://pkizerotohero.com/course/running-pki/).

## Frequently asked questions

### Is Let's Encrypt a public or a private PKI?

Public. Let's Encrypt is a certificate authority whose root is in the major browser and operating system trust stores, so its certificates work for anyone on the internet. It follows the CA/Browser Forum rules, logs every certificate in Certificate Transparency and issues only domain-validated certificates, for public domain names and public IP addresses. It cannot issue for internal names such as db01.internal, which is one reason organisations also run a private CA.

### Can I use a private CA for a public website?

It works only on devices that have your root installed. Every other visitor sees a warning such as NET::ERR\_CERT\_AUTHORITY\_INVALID. Asking customers to install your root is a security risk for them, because whoever controls a root in their trust store can impersonate any website to them. For anything the public reaches, use a publicly trusted certificate, renewed automatically with ACME.

### Is a self-signed certificate the same as a private PKI?

No. A self-signed certificate vouches only for itself, so every client must be told to trust that exact certificate, and it cannot be revoked. A private PKI has a root CA, usually kept offline, and one or more issuing CAs with policies, templates and revocation. You install the root once and every certificate it issues is trusted. Self-signed certificates suit a lab; a private CA scales to an organisation.

### Do the shrinking TLS certificate lifetimes apply to private certificates?

No. The CA/Browser Forum limits apply only to publicly trusted TLS certificates. A private CA follows its own certificate policy, so you choose the lifetimes. Many private PKIs already issue certificates that last days or hours and renew automatically, because a short lifetime limits the damage of a stolen key. The real risk with private certificates is that nobody watches their expiry dates.

### Can I use public TLS certificates for client authentication or mutual TLS?

Less and less. Chrome's root program is phasing out public TLS hierarchies that serve anything other than server authentication, and public CAs such as Let's Encrypt have already removed the client authentication purpose from their certificates. Trusting any publicly issued certificate as a client would also let in anyone who owns a domain. Use a private CA, or a dedicated client-authentication CA, for mutual TLS.

### Is a private PKI cheaper than buying public certificates?

Not necessarily. Some public CAs issue domain-validated certificates at no charge, while a private PKI needs owners, protected keys or a managed service, ceremonies, monitoring and audits for years. A private CA pays off when you need certificates that public CAs cannot or should not issue: internal names, user and device identities, mutual TLS, or many short-lived certificates under your own rules.

**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=/public-vs-private-pki/).

Last reviewed 20 October 2026Edition 0.9

## Keep going

### In depth: handbook chapters

- [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/)
- [Chapter 11: Proving you own the name: DV, OV, EV and CAA](https://pkizerotohero.com/handbook/domain-validation/)
- [Chapter 23: Both sides show ID: mutual TLS](https://pkizerotohero.com/handbook/mutual-tls/)
- [Chapter 25: Machines with passports: device identity](https://pkizerotohero.com/handbook/device-identity/)
- [Chapter 17: Certificate Transparency](https://pkizerotohero.com/handbook/certificate-transparency/)

### Do it: how-to guides

- [How to trust a private root CA on Windows](https://pkizerotohero.com/guides/add-root-ca-windows/)
- [How to trust a private root CA on Linux](https://pkizerotohero.com/guides/add-root-ca-linux/)
- [How to run a small private CA with step-ca (lab)](https://pkizerotohero.com/guides/private-ca-step-ca/)
- [How to get and renew Let's Encrypt certificates with certbot](https://pkizerotohero.com/guides/certbot-lets-encrypt/)
- [How to work behind a TLS-inspecting corporate proxy, safely](https://pkizerotohero.com/guides/corporate-proxy-certificates/)
- [How to monitor Certificate Transparency for your domains](https://pkizerotohero.com/guides/monitor-certificate-transparency/)

### Fix it: error pages

- [NET::ERR\_CERT\_AUTHORITY\_INVALID](https://pkizerotohero.com/errors/chrome-err-cert-authority-invalid/)
- [SSL certificate problem: self-signed certificate in certificate chain](https://pkizerotohero.com/errors/curl-self-signed-certificate-in-certificate-chain/)
- [x509: certificate signed by unknown authority](https://pkizerotohero.com/errors/go-x509-unknown-authority/)

### Check yours: tools

- [Chain checker](https://pkizerotohero.com/tools/chain/): Paste a chain and see which link is missing, expired or out of order.
- [Certificate decoder](https://pkizerotohero.com/tools/decoder/): Paste a PEM certificate and read every field in plain words.

### Topics

- [Private PKI](https://pkizerotohero.com/topics/private-pki/)

### 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/)
- [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 use cases and examples](https://pkizerotohero.com/pki-use-cases/)
- [PKI interview questions and answers](https://pkizerotohero.com/pki-interview-questions/)
- [Security+ PKI: certificates, CAs and keys](https://pkizerotohero.com/security-plus-pki/)
