Public PKI is run by publicly trusted CAs whose roots are built into operating systems, browsers, and platforms. Its certificates work almost anywhere without setup. Private PKI is a CA hierarchy that an organization runs, or has run for it. It's trusted only where its root is installed. Both use the same cryptography. They differ in who sets the rules and how far trust reaches.
Both public PKI and private PKI use key pairs, and every key pair has a public key and a private key. In "public PKI" and "private PKI," the words describe who trusts the certificates, not the keys. You'll also see other names:
Public PKI: external PKI or Web PKI
Private PKI: internal PKI
Public PKI |
Private PKI |
|
Who sets the rules |
The industry: CA/B Forum requirements and root program policies |
Your organization's certificate policy |
Where it's trusted |
Everywhere the operating system or platform trusts the root |
Only systems and devices where your root is installed or embedded |
Algorithms, validity, and certificate contents |
Fixed by industry rules (for example, a 460-day maximum for public code signing certificates) |
Set by you to fit your systems |
Rule changes |
Apply on the industry's schedule, including shorter lifetimes and required revocations |
On your schedule |
Who operates it |
The CA, which is independently audited |
You, or a PKI service provider |
Use public PKI for software that customers install on systems you don't control, such as commercial applications, installers, and Windows drivers.
Use private PKI for software that runs only on systems you manage:
For a certificate-level comparison, see Public vs. private code signing certificates.
Usually private PKI. Firmware is normally verified by the device itself, not by an operating system's trust store. A hardware root of trust, such as boot ROM code, checks each image's signature against a public key, key hash, or root certificate stored on the device during manufacturing. The manufacturer controls that trust anchor. NIST SP 800-193 (Platform Firmware Resiliency Guidelines) describes this model, in which firmware updates are authenticated before they're installed.
The exception is firmware or drivers installed through an operating system, which must meet that platform's rules. Windows drivers, for example, go through Microsoft's hardware program.
Because the trust anchor may need to last the life of the device, follow these practices:
IoT devices use PKI in two ways:
Both typically use private PKI, because the manufacturer controls what devices trust and volumes are high. Some ecosystems run a shared PKI that is neither public Web PKI nor one company's private PKI. Matter is an example:
Each device carries a unique Device Attestation Certificate (DAC), installed at manufacturing.
The DAC chains through a Product Attestation Intermediate (PAI) certificate to a Product Attestation Authority (PAA) root.
PAAs must meet a certificate policy managed by the Connectivity Standards Alliance. Approved PAAs are listed in the Alliance's Distributed Compliance Ledger, which Matter commissioners use to check devices.
See the Matter handbook and What is Project CHIP?
A root CA kept offline or in an HSM, with intermediate CAs for day-to-day issuance
A certificate policy that defines profiles, algorithms, and validity periods
Revocation, for systems and devices that can check it
Access controls and audit logs for every CA and signing key
Lifecycle planning that matches product lifetimes, which can run many years for devices
Building this in-house is complex, so many organizations use PKI-as-a-service instead.
Yes. Most do. A common split:
Public PKI for software customers installs on their own systems
Private PKI for internal software, firmware, and devices
The signing keys for both deserve the same levels of protection.
DigiCert Private CA provides private PKI-as-a-service. DigiCert creates and protects the root, and you control the intermediate CAs, certificate profiles, and policies.
Software Trust Manager signs software and firmware with keys from public or private hierarchies.
Device Trust Manager manages device identities across the device lifecycle.