Disclaimer: All postings are provided "AS IS" with no warranties, and confer no rights. This weblog does not represent the thoughts, intentions, plans or strategies of Microsoft. Because a weblog is intended to provide a semi-permanent point-in-time snapshot, you should not consider out of date posts to reflect current thoughts and opinions.
I‘ve been talking to a colleague who insists a 1-tier PKI infrastructure is better than a 2-tier PKI infrastructure but without providing details on exactly why. Is it better?
The word „Better“ is fairly meaningless as a quantitative descriptor. If you‘re talking to someone that uses that word when describing an IT-related subject it probably meansthat it‘s a question of belief and preference rather than a matter of logic and factual evidence.
Easier to deploy and simpler to manage, yes – Better, no.
The answer to the 1-tier vs. 2-tier question for PKI deployments is entirely dependant on what you intend to do with the PKI environment and, more importantly, the requirements of other organizations that you want to establish a certificate relationship with.
For example; most military or financial institutions that you want to establish a certificate trust with will typically dictate security requirements that you must filfil in order for them to start considering whether they can trust you (and this will typically include a requirement for the Root CA to be offline while the issuing CA‘s can be online.
The general rule of thumb is that you should not spend more money on protecting assets than what they are worth. However, this cost can include goodwill, privacy concerns, prestige and loss of reputation from a breach so even if you‘re not protecting an asset that has a high value in itself the secondary value needs to be considered in the equation.
The primary reason for deploying an offline root CA is typically to minimize the attack surface of it and simplify revocation in case of a breach as distributing a CRL for a revoked issuing CA to all affected workstations requires less work and takes less time than removing a trusted Root CA certificate from the clients (especially for unmanaged clients that you don't have direct control of).
A secondary reason for a 2-tier deployment is to be able to revoke the issuing CA certificate without needing to redeploy the trusted root certificate which would be necessary for a 1-tier online issuing root CA.
Additionally, if you have no management control over the clients you cannot remove a breached Root CA certificate from them whereas revoking a SubCA certificate will be subject to normal revocation checking and will be picked up by the clients the next time they download your CRL (or OCSP response) without you being involved.
Policy requirements and company politics can also come into play for the design decisions, for example if you have several different departments that must be able to manage their own issuing CA servers then the overhead of distributing and managing multiple trusted Root CA certificates is higher than having one Root CA that all issuing CA‘s chain up to.
In short; there are pros and cons for both 1-tier and 2-tier PKI infrastructures, you need to start any PKI project by evaluating what your needs are and what your budget is before you decide on a 1-tier or a 2-tier deployment (or a 3-tier for that matter). Just make sure you don't let anyone tell you one is always better than the other, that is simply not the case.
For a second opinion from non-Microsoft sources, please consult the following non-Microsoft sites:
Hierarchies in PKIhttp://networklore.com/hierarchies-in-pki/
3.4.1 PKI CertificateHierarchy Recommendations for ICCP Networks Each certification hierarchy hasits advantages and disadvantages, and each network is different. See section 1,
From page 88:
This centralized approach has several strengths and weaknesses:
As networks grow larger, the flat PKI structure becomes difficultfor a single entity to manage and service. Furthermore, either out ofconvenience or distrust, organizations may prefer to manage their own PKI nodesthemselves. To satisfy these issues, a tiered PKI hierarchy can be implemented.
Very nice post Ingolfur .