PKI Hierarchy Design Lab
A certificate authority fails on structure, not math. Design a CA hierarchy for the scenario — an offline Root, online Issuing CAs — and set the properties an auditor reads straight off the certificate: online vs offline, pathLen, allowed EKUs, name constraints, validity and key. The validator scores your design against the rules that actually contain a breach: keep the Root offline, bound the path length, give every use-case its own scoped issuer, and never let a TLS issuer also sign code.
Goal
Design a CA hierarchy for the enterprise. The Root must be offline and long-lived; online Issuing CAs do the day-to-day work. Give each certificate use-case its own scoped Issuing CA — never let a TLS issuer also sign code — and keep validity and path length sane.
Required use-cases this tier: TLS server (serverAuth)Device / client (clientAuth)Code signing (codeSigning)
CA hierarchy (configure each CA)
Design score
Live best-practice score so far 19%, with 5 critical rule(s) still failing. Configure the CAs, then validate to grade and lock in a streak.
What the validator checks
Root offline, long-lived, bounded pathLen.
Issuing short-lived, pathLen 0, one use-case each, name-constrained.
Never mix code-signing with TLS on one CA.
Live arena
4 activeadversary staging…
Loading…
Sample report · illustrative data
Sample result: PKI Hierarchy Lab design review
Example scoring of an invented CA hierarchy (Root, intermediate and Issuing CAs) for a fictional organisation, checked against 12 best-practice rules.
Design score
- Best-practice score
- 69% (11 of 16 weighted points)
- Outcome
- Not passed: two critical checks failed
- Pass rule
- Every critical check must pass; weights are 2 for critical checks and 1 for the rest, apart from the name-constraint check
Findings
| Check | Critical | Result | Note |
|---|---|---|---|
| A single offline Root CA anchors the estate | Yes | Fail | The Root is online; it should be offline or air-gapped |
| Code-signing is isolated from TLS issuance | Yes | Fail | One Issuing CA issues both code-signing and TLS certificates |
| Each Issuing CA serves a single use-case | Yes | Pass | |
| Every required certificate use-case is covered | Yes | Pass | |
| Issuing CAs are scoped by name constraints | Depends on the scenario | Fail | Set to "any"; scope to the org domain |
| Root outlives its Issuing CAs | No | Pass | |
| Root and Issuing CA keys meet policy strength | No | Pass |
Debrief
A compromised TLS issuer must never be able to sign trusted code, and an online Root defeats the point of having a Root at all. Fix the critical items first, then tighten path lengths, validity periods and name constraints.
Made-up example data. Your own run uses your inputs. Downloads of the full report need Pro.
TL;DRWhat this lab is
5 points
- A browser-based PKI design lab: lay out a certificate-authority hierarchy and configure each CA, then a client-side validator scores it against real PKI best practice.
- You set the properties auditors read: online/offline, basicConstraints pathLen, allowed EKUs (serverAuth / clientAuth / codeSigning), name constraints, validity and key algorithm.
- The validator enforces the rules that actually contain a breach: offline Root, bounded path length, short-lived issuers, a dedicated name-constrained Issuing CA per use-case, and code-signing walled off from TLS.
- Each scenario names the certificate use-cases that must be issuable; harder tiers add more use-cases and stricter name-constraint and key policy — the regulated, multi-use, cross-signed estate.
- You get a 0–100 design score with per-rule findings and a use-case coverage trace, so you can see exactly which property fails and why.
Frequently asked questions
What is the PKI Hierarchy Design Lab?
An in-browser exercise where you design a certificate-authority hierarchy for a scenario — an offline Root, optional Intermediate/Policy CAs, and online Issuing CAs — and configure each CA: online vs offline, basicConstraints pathLenConstraint, the Extended Key Usages it may issue, name constraints, validity period and key algorithm. A client-side validator then scores your design against PKI best practice and tells you which rules pass and which fail.
What best practices does it grade?
The Root should be offline and long-lived; path length should be bounded so a CA cannot mint deep sub-CA chains; online Issuing CAs should be short-lived and set pathLen 0; each certificate use-case should ride its own name-constrained Issuing CA; a TLS-issuing CA must never also sign code; every required use-case must be issuable by a CA that chains to the offline Root; and keys should meet policy strength. Each rule is a scored finding.
Who is it for?
Security architects and engineers designing or reviewing an internal CA, people prepping for a cryptography or infrastructure-security interview, and anyone who wants to feel why Root posture, EKU scoping and name constraints matter before touching a production CA. No install.
Is this a real certificate authority?
No. It is a teaching model of CA-hierarchy design. It grades the structural properties — basicConstraints, EKU, nameConstraints, validity, key strength, online/offline posture — that determine a hierarchy’s blast radius, but it does not issue real certificates or validate X.509 encoding. The scenarios are invented.
More security tools
The tools people use most on PlayCISO.
Catch injected instructions hiding in content your AI agent should only read.
Score your readiness against the first international standard for AI security threats.
Critical CVEs across 21 major vendors, month by month — and what the 2026 surge means.
Build an ordered ruleset, replay labelled packets and catch shadowed and any-to-any rules.
Self-assess all six Functions, from Govern to Recover, and see your weakest one.
Search 172 threat actors across Microsoft, CrowdStrike, Mandiant and community names.