No history yet

PKI Architectural Design

Designing the Chain of Trust

A Public Key Infrastructure (PKI) is more than just a collection of digital certificates. It’s a designed system, an architecture built on a hierarchy of trust. The ultimate source of this trust is the Root Certificate Authority (CA). Every certificate issued within the infrastructure can trace its validity back to this single point. If the Root CA is compromised, the entire system collapses.

The core principle of PKI design is to protect the Root CA at all costs while enabling the secure and efficient issuance of certificates for everyday use.

To achieve this, we use a hierarchical model. The doesn't issue certificates directly to end-users or devices. Instead, it delegates that authority to one or more Subordinate CAs. This creates a chain of trust, where the Root CA signs the Subordinate CA's certificate, and the Subordinate CA then signs certificates for users, servers, or devices. This structure allows for flexibility and protects the root by limiting its exposure.

Choosing a Hierarchy Model

The most common architectural decision is whether to implement a two-tier or a three-tier hierarchy. The choice depends on an organization's scale, security needs, and administrative requirements.

A two-tier hierarchy is the simplest recommended model. It consists of an offline Root CA and one or more online Subordinate CAs, often called Issuing CAs, that handle all certificate issuance.

This model is straightforward to manage and suitable for small to medium-sized organizations. Its main drawback is a lack of granularity. If you need to revoke an Issuing CA, it could impact a large number of diverse certificates, as there's no intermediate layer to segment them.

For larger enterprises or those with complex security requirements, a three-tier hierarchy is preferable. This adds an intermediate layer of CAs between the root and the issuing CAs.

The intermediate CAs can be organized by region (North America, Europe), function (VPN, WiFi), or by specific security rules, creating a Policy CA layer. This provides better security segmentation. If a specific Issuing CA is compromised, you can revoke its parent Intermediate CA without affecting other branches of the hierarchy. This model offers greater scalability and policy control at the cost of increased complexity.

Component Roles and Security

In any hierarchy, the Root CA must be the most protected component. The universal best practice is to keep the Root CA offline. It should be powered on only to sign or revoke a Subordinate CA certificate. The rest of the time, it remains disconnected from any network, often secured in a physical vault. This isolation drastically reduces its attack surface.

Subordinate CAs are the workhorses of the PKI. They are online and handle the day-to-day operations of signing and publishing certificates and Certificate Revocation Lists (CRLs). While they must be secured, they are considered more expendable than the Root CA.

Finally, we have the (RA). The RA is not a CA and cannot sign certificates. Its job is to verify the identity of entities requesting a certificate. Think of it as the front desk or admissions office. The RA validates the request—confirming the user's identity or the server's ownership—and then passes the authenticated request to the CA to be signed. This separation of duties is a key security control, ensuring that the powerful CA engine only signs fully vetted requests.

Ready to test your knowledge on PKI design principles? This quiz will cover the architectural concepts we've discussed.

Quiz Questions 1/5

What is the ultimate source of trust in a Public Key Infrastructure (PKI) hierarchy?

Quiz Questions 2/5

A large, multinational corporation needs to issue distinct sets of certificates for its VPN users, Wi-Fi access, and secure email, each governed by different rules. Which PKI architecture is best suited for this requirement?

Understanding these architectural patterns allows you to design a PKI that is secure, scalable, and tailored to the specific needs of your organization.