Why build an OpenBao intermediate CA under an offline root
OpenBao intermediates sit under a root kept separate from day-to-day issuance, which limits how often the root key is exposed. A security or platform lead who needs an internal CA they can audit should start from that split: the root signs a small number of intermediate certificates, and the intermediates, each held in its own OpenBao PKI mount, sign the leaf certificates that services actually receive. Because each mount holds its own CA, a compromised or retired intermediate can be replaced without re-anchoring trust across the whole hierarchy. Teams need this design when they expect several issuing purposes, such as internal services, workload identities and ACME clients, when auditors ask where the root key lives, or when they expect to rotate issuers later.
The reason the OpenBao documentation favors a hierarchy over issuing leaves from a root is blast radius. Every certificate a root signs is trusted through that root, so a root that issues daily carries daily operational risk. With an offline or separate root, the root key is used rarely and under a controlled ceremony, while intermediates handle routine issuance and can be rotated and constrained without touching the trust anchor. Before building, decide how many mounts map to distinct trust domains, which mount serves as the default issuer, and which key type each intermediate uses. Confirm each choice against the PKI documentation for the OpenBao release you plan to run, because issuer and key-type behavior can change between versions.
Plan the root's offline procedure before anything is issued. Name the people who hold signing material, define where the root signing ceremony happens, and document how an intermediate's certificate signing request is carried to the root and the signed certificate is returned and verified. An auditor will test these steps, and they are far easier to define before the first intermediate exists than to reconstruct afterward. An illustrative example: a team that writes the ceremony steps, including who witnesses the signature and where the signed certificate is checked, will have evidence ready when the first review arrives.
How the root, intermediates and leaf certificates fit together
The diagram starts with the offline root on a separate, air-gapped signing host, which signs only intermediate CA certificates. Each intermediate is a PKI mount inside the online OpenBao cluster, holding its own issuer and key, and it issues leaf certificates to services. The default issuer pointer decides which intermediate new issuance uses by default, so check it after every change. Confirm the trust boundary by verifying that no root key ever enters the cluster.
Offline root signs intermediates, which issue leaf certificates inside the cluster.
Hierarchy and key type options and when each fits
This table compares the hierarchy shapes and key types available for an OpenBao intermediate CA beneath a root, along with the default issuer setting. Read each row for what the option means, its main trade-off, and the situations where it fits. The main takeaway is to keep the root out of day-to-day issuance, use one CA per mount for clear boundaries, and confirm every key type against the current OpenBao PKI documentation before you commit.
| Option | What it is | Main trade-off | When it fits |
|---|---|---|---|
| External offline root with OpenBao intermediates | Root key generated and kept outside OpenBao, used only to sign intermediates | Strongest key custody, but root signing needs a ceremony and a separate process | Regulated estates that need the root out of reach of cluster administrators |
| OpenBao-generated root in a separate mount | Root created inside OpenBao and held in a mount that is rarely used and tightly restricted | Simpler to run, but the root key still sits in the cluster that issues leaf certificates | Teams without a separate signing environment that accept tighter operational controls |
| Issuing leaf certificates directly from a root | Root signs end-entity certificates with no intermediate layer | Root exposure grows with each issuance, and replacing the root later is harder | Unlikely fit; it works against the hierarchy pattern this topic recommends |
| One CA per mount | Each intermediate lives in its own PKI mount with its own issuers and roles | Clear blast radius and policy boundaries, but more mounts to monitor and tidy | Separate services, environments or tenants that need distinct issuance policies |
| Default issuer set | Names the issuer a mount uses when a request does not specify one | Simplifies callers, but a wrong default can issue from the wrong CA | Mounts holding several issuers, especially during rotation planning |
| RSA keys | Widely supported key type with larger keys and signatures | Broad client compatibility, but larger keys and signatures than ECDSA | Interoperability with older clients is the deciding requirement |
| ECDSA keys | Elliptic-curve keys with smaller keys and signatures than RSA of comparable strength | Confirm client library support across your estate before standardizing | Modern clients where compact certificates matter |
| Ed25519 keys | Edwards-curve option; confirm it is offered for CA issuers in current docs | Client and tooling support varies, so test each consumer | Controlled internal clients that have been tested end to end |
| ML-DSA keys | Post-quantum signature option; confirm issuer and CSR support in current docs | Revocation status and client support may be limited, so validate before use | Crypto-agility planning and pilots, not general issuance until verified |
Setup sequence for the root, intermediates and default issuer
This sequence turns a planned CA hierarchy into working OpenBao PKI mounts, with the root key kept offline and each intermediate verified before it is trusted. The result is one signed chain per mount and a deliberately chosen default issuer.
Prepare the offline root ceremony and custody
Before any key is generated, the organization agrees who attends the root ceremony, where the signing machine sits, how it is built and wiped, and who holds each custody role. The ceremony script, witness roles and storage location for the root material should be written down and approved by the security owner. This step is done when the ceremony script is signed off and the custodians have confirmed their roles in writing. Confirm with your own security and audit teams what evidence they expect from the ceremony.
Generate or import the root certificate
On the air-gapped or offline signing system, the root key is generated inside a dedicated OpenBao PKI mount, or an existing root is imported if one already exists. The root's subject, key type, key size and validity are set from the agreed design, not from defaults. This step is complete when the root certificate is exported and its fingerprint is recorded in the ceremony log. Check the exact root generation and import commands in the OpenBao PKI documentation for your release, since they differ between root and intermediate operations.
Create one PKI mount per intermediate
Each intermediate CA gets its own PKI mount, so that issuance policy, roles, key rotation and access control can be scoped to that CA. Mount names should reflect the purpose of the CA, such as the internal service tier or the environment it serves. This step is done when every planned mount exists and each one is empty of issuers. Confirm mount naming conventions and namespace placement with the teams who will administer them, and see the OpenBao namespaces documentation if you plan to isolate tenants.
Generate intermediate CSRs on each mount
For each mount, OpenBao generates a key pair and a certificate signing request for the intermediate. The private key stays in the mount and only the CSR leaves it, which is the point of the design. Record the key type, subject and path-length constraint for each CSR so the signing step can be checked against the design. This step is done when every CSR is saved, its key type matches the plan, and nothing in the CSR differs from the agreed subject.
Sign the CSRs offline with the root
The CSRs are moved to the offline signing system and signed with the root. The signer checks each request against the design: subject, key type, validity, path length and any name constraints. Signed intermediate certificates are returned along with the root certificate that issued them. This step is done when each intermediate certificate is signed, the signing log records what was signed and by whom, and the root never left the offline system.
Import the signed intermediate chains
Each signed intermediate is imported into its matching mount, together with the issuing root chain so OpenBao can build a complete path to the root. Import the chain in the form the PKI documentation specifies for your release, and confirm that the imported issuer is the one that matches the CSR's key. This step is done when each mount lists its intermediate as an issuer and the chain reads correctly from the mount. Verify the import behavior against the current OpenBao PKI docs before you rely on it.
Set the default issuer and verify each chain
Choose one issuer per mount as the default, and make that choice deliberately, since roles and tooling will fall back to it. Then verify every chain end to end: the intermediate's signature traces to the root, the validity periods nest correctly, the key usages and constraints match the design, and a test leaf issued from each mount verifies against the chain. Record the results for each mount. This step is complete when every chain verifies, each default issuer is confirmed, and the verification output is stored with the ceremony record.
Deciding between one CA per mount and a shared issuer
The core decision is whether each OpenBao PKI mount should carry its own intermediate CA or whether several roles should share one issuer. Separate CAs per mount limit blast radius: if the private key of one intermediate is exposed, only the certificates that chain to that issuer need to be distrusted and replaced, while the other mounts keep issuing from keys that were never exposed. A shared issuer concentrates that risk in one key but gives you a single trust anchor to distribute, monitor and rotate. For most organizations the deciding factors are how many distinct trust domains exist (for example, public-facing TLS, internal service identity and device certificates), whether those domains have different relying parties, and who is allowed to change their issuance rules.
Issuance policy is where per-mount separation pays off most in practice. Roles, allowed domains, key types, maximum TTLs and any custom validation attached to a role live on the mount, so a team that needs short-lived workload certificates can operate under different constraints than a team issuing long-lived device certificates without any change to the other mount's configuration. Default issuers simplify the other side of the picture: each mount can designate one issuer as its default, so clients and ACME or Agent templates that do not name an issuer always resolve to the intended CA. Confirm the default-issuer and per-issuer behavior against the PKI documentation for the version you run, because the exact selection rules affect which certificate a client receives after you add a second issuer.
Namespaces in OpenBao provide isolation between tenants within one cluster, including separate policies and mounts, and they are a different tool from separate CA mounts. A namespace isolates administration and access; it does not by itself create an independent trust chain or separate key custody, so a shared cluster with namespaces may still share the storage and unseal boundary that a separate deployment would not. Every additional mount also adds operational cost: each one needs its own rotation schedule, CRL and OCSP endpoints, health checks, monitoring, backup coverage and access reviews. Before you multiply mounts, ask your team to document the owner, expiry plan and revocation path for each issuer, and confirm the namespace and mount limits your chosen OpenBao version supports.
Security considerations for an offline root and online intermediates
An offline root is only as protective as the controls around it and around the intermediates that do the daily signing. The cards below cover the root's key custody, the signing ceremony, how intermediate keys are protected inside the cluster, who may call PKI paths, what gets logged, and what privileged access is left behind after setup. Confirm sealing and HSM options against your own environment before you finalize the design.
Root key custody and storage
The root private key should live outside the online cluster, in a location that only named custodians can reach. Decide whether the root is generated offline with the key never leaving that environment, or imported from a controlled ceremony, and record who holds each copy and where. Confirm with your security team whether a hardware security module or other external key store is available for the root, since OpenBao's documentation covers unseal and seal options separately from CA key custody.
Air-gapped signing ceremonies
Signing the intermediate certificate with the root should be a scripted, witnessed event on a machine that is disconnected from networks during the operation. Prepare the intermediate CSR inside the cluster, carry it across on removable media, sign it offline, then return only the certificate and chain. Keep a written runbook with the quorum of people required, the media handling steps and the verification of the returned certificate before it is imported.
Intermediate key protection in the cluster
Intermediate keys are online because they sign leaf certificates continuously, so they are the higher-exposure material. Limit who can read the cluster's storage and snapshots, since the intermediate keys are stored there. Confirm how your chosen storage backend and seal protect data at rest, and document which operators can export or back up the PKI mount. Plan intermediate lifetimes so a compromised intermediate can be replaced without rebuilding the root.
OpenBao HA docsAccess control on PKI paths
Grant each team or service only the PKI paths it needs, such as the issue path for one role, and keep signing of intermediates, role changes and key management in a separate, narrow policy held by a small group. Review whether any identity can both request and approve issuance from the same role. Test each policy with a token that is meant to be restricted, because a path that looks restricted on paper can still be reachable through another mount or a broad wildcard.
OpenBao auth docsAudit logging of issuance
Every certificate issuance, role change and configuration update should appear in an audit log that is shipped off the node and retained under your policy. Decide in advance who reviews these logs, how often, and how you will reconcile issued certificates against expected requests. Confirm that the audit device you choose records the fields you need for investigations, such as the requesting identity and the requested common name, and test that logs survive a node failure.
Leftover root tokens and broad policies
Initial setup often leaves a root token, a broad administrative policy or a long-lived admin identity in place, and these can bypass the controls above. Revoke the root token once bootstrap is complete, and keep emergency recovery material in the custody process you defined for the root. Remove any policy that grants wildcard access to PKI mounts, then review the active tokens and identities against the intended roles before go-live.
Migration guideQuestions buyers ask about an OpenBao intermediate CA
What does an OpenBao intermediate CA project cost, and what drives the price?
No price is published for this work, and the quote follows from a written scope. The cost is mostly people time: someone designs the hierarchy, someone runs the root key ceremony, someone builds and tests each intermediate mount, and someone documents the result for auditors. The main cost drivers are the number of intermediates and mounts, whether key ceremonies must be witnessed or recorded, how much of an existing PKI must be inventoried or moved, and how much compliance evidence your assessor expects. Most of the cost is one-time build work. Recurring costs include the staff time to rotate intermediates, run reviews and keep the root offline. Ask any vendor to separate build, ceremony, migration and ongoing support in the quote.
How long does it take to design and build an offline root with OpenBao intermediates?
Duration depends on scope rather than on a fixed number. A single issuing intermediate with one mount, an existing offline root and a clear naming plan is a small job. A multi-tier hierarchy with several intermediates, separate mounts per business unit, an HSM or KMS for keys, and a migration from an existing CA usually takes much longer, because approvals, key custody decisions and cutover windows set the pace. Ask for a timeline with milestones for design sign-off, the root ceremony, intermediate build, testing and handover. Confirm which steps depend on your change board or your auditor's calendar.
What must our team provide before the work starts?
Your team must provide decisions and access that only you can give. Expect to supply:
- Root custody: who holds the offline root material, where it is stored, and who must be present for signing ceremonies.
- Network design: which subnets and load balancers reach the OpenBao nodes, and which segments stay isolated from the root signing environment.
- Identity for administrators: how operators log in, which groups map to PKI roles, and how MFA is enforced.
- Naming, lifetime and key type standards: the policies your security team already approved.
- Test and change windows, plus a named owner who can accept the design.
Missing any of these typically delays the build more than the technical work itself.
Can our internal platform or security team build this without an outside partner?
Yes, a team with PKI and OpenBao experience can build this internally, and many do. The hard parts are less about commands and more about the decisions: a root ceremony needs careful procedure and witnesses, issuer rotation must be planned before it is needed, and the audit trail must show who did what. Check whether your team has run a root ceremony before, has a tested recovery path for the intermediate keys, and can document the design for your compliance assessor. An outside partner can add a second set of hands, a reviewed design and a written handover, which is often useful when the internal team is small or already committed to other work.
Does a fixed-scope engagement fit a CA build like this?
A fixed-scope engagement fits well when the boundaries are clear: a defined set of intermediates, mounts, key types, identity integrations and deliverables. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so you know what is included before the build begins. Scope changes are the main risk, for example adding a new business unit mid-build or discovering an undocumented legacy CA. Define in the statement of work what happens when those changes arrive, and what evidence you receive at handover, such as design records, configuration exports and runbooks.
What evidence will our auditor expect from a root and intermediate hierarchy?
Auditors typically want to see a documented design, a record of who controlled the root, ceremony logs or signed witness records, configuration of each mount, and proof that access to signing and issuance is limited and logged. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations. Ask your assessor early which control frameworks apply and what samples they will request, then agree on the evidence format during design.
What should we confirm about OpenBao versions before choosing a design?
Confirm the OpenBao release line you will run and check its release notes for PKI behavior before fixing a design. The current releases documented in the project's GitHub release history are v2.7.0, released September 23, 2026, and v2.7.1, released October 1, 2026. Check the release notes for any changes to issuer handling, key types or PKI endpoints that affect your hierarchy. Also confirm whether your planned features, such as post-quantum signatures or OCSP behavior for specific issuer types, are supported in the version you pick. Record the version in your design document.
Operating the hierarchy after go-live
Day-two operation keeps the intermediates trusted until they are replaced on purpose, with expiry tracked, renewals planned, health checks recurring and the offline root ceremony recorded well enough to repeat. The result is a hierarchy your team can operate without relying on the people who built it.
Inventory every issuer and its expiry
Record each intermediate CA, the OpenBao PKI mount it lives in, its default issuer, its key type and its not-after date, along with the offline root's expiry. The platform team owns this record and the security team reviews it. Done when the inventory matches what the mounts report and every issuer has a named owner and an alert threshold set before its expiry.
Alert on intermediate expiry
Configure monitoring so that the expiry date of each intermediate is tracked as a metric and raises an alert well before it passes. Alerts should go to the owning team and to a shared channel that someone watches. Confirm the alert fires by testing it against a non-production mount with a short-lived certificate. Done when the test alert reaches the on-call channel and the escalation path is written down.
Schedule intermediate renewal and rotation
Decide, for each intermediate, whether it will be renewed under the same key or replaced with a new issuer, and document the trigger. Renewal requires the offline root to sign a new intermediate certificate, so the ceremony is scheduled with the people who hold root custody. The rotation procedure, including cross-signing and the transition period, is covered in the sibling topic on rotating a CA. Done when a dated plan exists for each intermediate and the root ceremony is on the calendar.
Run PKI health checks on a fixed cadence
Run the PKI health checks against the root and intermediate mounts on a recurring schedule, using a token limited to the permissions the check needs. Namespaced mounts need their full paths in the configuration. The check results are reviewed by the platform team and any failures become tracked work items. The sibling topic on auditing a PKI mount with the health-check command covers permissions and configuration. Done when the schedule runs, the results are stored, and a reviewer has signed off on the first full report.
Confirm revocation publication still works
After any change to issuers or cluster addressing, verify that the CRL and OCSP endpoints advertised in issued certificates still resolve and return current status. Every node needs the correct cluster and AIA URL settings for these endpoints to work behind a load balancer. The sibling topic on CRL and OCSP publication covers the settings. Done when a test client can fetch a current CRL from each published address and a revoked test certificate shows as revoked.
Keep the offline root ceremony documented
Write down each root ceremony as a runbook: who holds the custody material, the hardware and media used, the signing steps, the verification of the output, and where the signed artifacts are stored. Record each run in a ceremony log with the date, the attendees and the resulting certificate fingerprints. Rehearse the runbook on a non-production hierarchy before the next real ceremony. Done when a team member who did not build the hierarchy can follow the runbook to a verified result in a rehearsal.
Review the sequence after each change
Repeat the inventory, alert test and health check after every intermediate renewal, rotation or OpenBao upgrade, and update the runbook where the steps changed. Check the OpenBao release notes for changes affecting PKI before upgrading, since the release line you run determines which PKI behavior applies. Done when the inventory, alerts and runbook reflect the new state and the change record links to the verification results.
How DeployOpen scopes and delivers an OpenBao PKI hierarchy
DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, including OpenBao. For an intermediate CA under an offline root, we start from your trust model and key custody requirements, then build the hierarchy in your environment and hand over the runbooks your team needs to operate it.
How we scope
- Written scope names the root, intermediate mounts, default issuers and the key type chosen for each CA before any build starts.
- Scope records which roles, token policies and operators may sign intermediates, and where the offline root material is kept.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work begins, and a quote follows from that scope.
How we build
- We configure one PKI mount per CA level so each intermediate has its own issuers, roles and lifecycle, as your scope defines.
- The root signing ceremony runs offline with documented steps, and intermediate CSRs are signed and imported back into OpenBao under that record.
- We test issuance, chain validation and role restrictions in a non-production cluster before anything is connected to production systems.
How we hand over
- You receive the configured hierarchy, a record of the signing ceremony and the issuer and role inventory for each mount.
- Runbooks cover intermediate issuance, default issuer selection, key type decisions and how to add a new intermediate later.
- We walk your security and platform teams through the design so they can review the trust model and explain it to auditors.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing like the original build.
- Retainers can cover OpenBao version upgrades, PKI health reviews and planning for future CA rotation or post-quantum work.
- DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors issue any audit report or certification.

