← Back to section · Digital Security

Building an Enterprise Private PKI: Why Internal Networks Need Their Own CA

Internal services, devices and mTLS all need certificates that public CAs cannot issue. The two-tier structure, offline roots, HSMs and policy documents of a private PKI — and the trade-offs against hosted private CA services.

Published 22 November 2026 · 6 min read · PQ Frontier

Building an Enterprise Private PKI: Why Internal Networks Need Their Own CA
AI-generated site artwork
Video explainer · PKI: Certificates and Trust Chains

Public CAs solve “let the whole world trust my website”. Enterprises face a second, unsolved problem: when thousands of internal services, containers, devices and employee endpoints talk to each other, how does each side know who it is talking to? Internal names do not exist in public DNS, so public CAs cannot validate control over them and cannot issue for them. The answer is a private PKI — the organization runs its own root, issues its own certificates, and writes its own rules. Microservice architectures amplify the demand: every east-west call in a service mesh should be mutually authenticated with mTLS, every workload needs a short-lived certificate, and issuance volume dwarfs that of public websites.

Two tiers: offline root and issuing CAs

Private PKI borrows the public system’s layered design at a smaller scale, typically two tiers:

  • Offline root CA — a self-signed root whose private key lives in an HSM, kept entirely off the network and powered up only under a formal ceremony to sign or revoke subordinate CAs. Root certificates may live for ten or twenty years: they are used rarely and are painful to replace, because they must be pre-installed on every device in the company.
  • Issuing (intermediate) CAs — signed by the root, online, and split by purpose or organization: one for infrastructure, one for devices, one for users. The reasoning matches public PKI: if any issuing CA is compromised or mis-operated, revoke and rebuild it; endpoints accept a new intermediate while the root stays untouched.
  • Registration authority (RA) function — the check that decides who qualifies for which certificate. In automated estates the identity system plays this role: workloads exchange platform- or Kubernetes-issued identity tokens for certificates (the SPIFFE/SPIRE pattern), and devices convert factory certificates or an onboarding flow into operational ones.

CA software choices are broad — open-source CA packages, commercial PKI products, and cloud vendors’ hosted private CA services all qualify. The deciding factors are rarely issuance itself, but integration with the existing identity system, automation pipeline and HSMs.

Policy documents: CP and CPS are not bureaucracy

Public CAs are forced by root programs to publish a Certificate Policy (CP) and Certification Practice Statement (CPS). Private PKIs have no external auditor watching, which makes it tempting to skip the paperwork — until an incident, when nobody can say who approved a certificate or what was actually verified. RFC 3647 provides the standard CP/CPS framework. An internal deployment should at minimum write down: naming rules (which names may appear in certificates), identity-proofing methods (human approval, ticketing system, or automatic token-based verification), permitted algorithms and key sizes, maximum certificate lifetimes, key custody and backup arrangements, and audit-log retention. The real value of the policy documents is converting oral tradition into auditable rules, so handovers and cross-team work do not depend on folklore.

A related governance blind spot is “shadow PKI”: a development team stands up a convenience CA for a test environment and, to make integration testing easier, slips its root into production endpoints’ trust stores — quietly bypassing every policy constraint of the official PKI. The countermeasure is to bring trust-store contents themselves under inventory and change control: adding a root certificate should require the same approval grade as granting a production privilege, and endpoint trust stores should be scanned regularly against the baseline, with any difference raising an alert.

Trust distribution: the underestimated half

A private root is not pre-installed in operating systems; the enterprise must distribute it to every endpoint that will verify internal certificates — via domain policy, MDM, configuration management or container base images. The distribution channel itself must be trustworthy: root fingerprints verified out of band, delivery mechanisms signed and reversible. Equally underestimated is revocation reachability: internal CRL/OCSP endpoints must be reachable even from segmented networks, or verifiers either fail open (revocation becomes theatre) or fail closed (the business stops). Root rollover is a multi-year project of its own: the new root is cross-signed by the old one years in advance, both roots are distributed in parallel, and the old root is retired only after legacy devices age out. That calendar starts on the day the PKI is built.

Build, host, or hybrid

There are three deployment shapes, and the choice is really about which responsibilities to keep in-house. Fully self-built — CA software, HSMs, key ceremonies and audits all internal — offers maximum control at maximum cost: it needs engineers who genuinely understand PKI on long-term duty, and a self-built system nobody maintains is more dangerous than a hosted one. Cloud-hosted private CA — the vendor operates the issuance infrastructure and HSMs while the customer keeps policy control and issuance approval, paying per certificate; the price is that physical custody of root keys sits with the vendor, integration is deepest with that vendor’s ecosystem, and exit costs are real. The hybrid shape is the most common in practice: the offline root is self-built and self-custodied (it powers up only a few times a year, so self-custody costs mainly ceremony and safekeeping), while the online issuance layer uses a hosted service or open-source software wired into the identity system — keeping the irreplaceable trust anchor in your own hands and outsourcing the daily labour. One constant across all three: distributing the root into endpoint trust stores remains the enterprise’s own job. No hosting vendor will push your root onto your employees’ phones for you.

The post-quantum angle

A private PKI is the friendliest possible testbed for post-quantum migration: no root program and no CA/B Forum rules constrain algorithms, parameters or certificate sizes — the organization decides. A pragmatic path is to enable ML-DSA on one issuing CA, issue post-quantum certificates to internal services, and measure HSM throughput and the effect of certificate size on internal protocols (especially certificate-carrying IoT and industrial protocols) before expanding. The flip side is that private PKI is also the easiest corner to postpone: internal systems are long-lived and heterogeneous, and starting only when public-ecosystem deadlines arrive means handling algorithm replacement and device retirement at the same time. Automating and inventorying the private PKI early buys algorithm agility for the whole organization.

Sources and further reading

Tags: PKIprivate CAmTLSenterprise security