When a team needs to rotate an OpenBao CA with cross-signing
Rotating an OpenBao CA means adding a new issuer to the same PKI mount while the old issuer is still active, then moving trust from the old chain to the new one. It is not a matter of swapping a certificate file on disk. The usual triggers are a root or intermediate nearing expiry, a private key that must change because of custody or algorithm policy, or a move to a new hierarchy. In each case, services, clients and browsers already trust the existing chain, so the plan has to keep that chain valid until every relying party has the new path.
The PKI engine documents issuer-level operations that support this: reissuing a CA certificate with an existing key, and cross-signing, where a new intermediate is signed by another CA so that both chains validate during the overlap. Read the current PKI documentation for the exact commands, the manual_chain setting used when a cross-signed intermediate must be presented in a particular order, and the defaults that govern which issuer leaves are signed by. Confirm these details against the OpenBao version you run, since the behavior is version-dependent and the release notes are the place to check changes.
This page is a planning guide, not a runbook. Its purpose is to help you decide whether cross-signing is needed at all, which trust stores and pinned chains in your estate must change, and how long the overlap must last. Treat the transition period and the removal of old issuers as separate decisions with their own owners, and record them before any command is run in production. Your own test environment is the right place to confirm each step against your clients.
Root rotation versus intermediate rotation
Rotating an intermediate CA means issuing a new intermediate under a root that is still valid and trusted on every client. Because the root does not change, clients that already trust it can validate the new chain without any change to their trust stores. The work happens on the OpenBao side: you generate or import a new issuer in a PKI mount, have it signed by the existing root or an offline root holder, and start issuing leaves from it. Old certificates keep validating until they expire, provided the old intermediate remains available in the chain or in the trust path.
- Trust store impact: Usually none for clients that trust the root directly, since the new intermediate is delivered as part of the served chain.
- Offline root: The root key can stay offline; only the signing of the new intermediate requires the root holder to sign a CSR.
- Chain delivery: Services must send the updated chain, so the new intermediate reaches relying parties.
- Overlap window: Old and new intermediates coexist while outstanding leaves expire, which the transition period covers.
- Scope limit: This path does not help if the root key itself is compromised or nearing end of life.
Before you start, confirm that every relying party builds chains to the root you already distribute and that your services can reload a new chain without downtime.
Rotating a root replaces the trust anchor itself. Any client, device, container image or application that pins the old root must receive the new root before it can validate certificates issued from it. This is why root rotation is usually the more disruptive path: the change reaches every place trust is configured, including devices you do not manage directly, embedded systems and vendor appliances. Trust anchors on endpoints are often updated slowly, and some never are.
- Trust store impact: Every system that anchors on the old root must add the new root, and some must remove the old one later.
- Cross-signing need: A new root is often cross-signed by the old root so that chains validate during the transition on both old and new trust stores.
- Offline key handling: The new root key ceremony usually happens offline, with the old root holder present for signing.
- Inventory dependence: You need a current list of every trust store, including those outside your control.
- Failure mode: A missed trust store causes validation failures that appear as outages, not as warnings.
Before you commit to a root rotation, ask who owns each trust store, whether the platform can accept a new anchor on a schedule, and what the rollback plan is if a large group cannot update in time.
The owner of each trust location determines how a rotation can be scheduled. Security and PKI teams own the root and intermediate material in OpenBao. Platform teams usually own operating system trust bundles, container base images and cluster trust configuration. Application owners control language runtimes, pinned certificates and client libraries. Device and vendor teams may control endpoints that only accept updates through their own release cycle. The rotation plan should map each location to an owner and a change path before any new issuer is created.
- Operating systems: Trust bundles updated by configuration management or package updates.
- Container images: Base images that bake in CA bundles, which need rebuilds and redeployment.
- Applications: Pinned certificates or custom trust stores that bypass system bundles.
- Network appliances and devices: Often updated only through vendor firmware or manual processes.
- Third parties: Partners or customers that pin your root, which you may not be able to change.
Ask each owner to confirm how they receive new trust anchors and how long their change process takes in practice.
A central goal of the hierarchy is to keep the root key away from routine operations. In an intermediate rotation, the root is needed only to sign a new intermediate CSR, which can be a short, controlled event. In a root rotation, the new root key is generated in a ceremony, and the old root must sign or cross-sign it, which requires the old root holder to participate. Either way, day-to-day issuance runs on intermediates in OpenBao, and the root should not be loaded into the cluster for leaf issuance.
- Root key: Stays offline in both paths except for the signing event.
- Intermediate keys: Live in OpenBao and are the only keys used for routine issuance.
- Signing ceremony: Needs documented witnesses, a secure workstation and a record of the signed artifacts.
- Cluster configuration: Can continue normally if the rotation only adds an issuer.
- Audit records: Keep the CSR, the signed certificate and the ceremony log together for review.
Confirm with your security team which steps must happen under dual control and where the ceremony records will be retained.
Which rotation option fits which trust situation
This table compares the four ways to rotate an OpenBao CA: reissuing from the existing root, cross-signing a new intermediate, introducing a new root, and using the manual_chain override. Read each row against your trust situation, specifically which clients hold the current root in their trust stores and how much change you can coordinate. The main takeaway is that every option moves the risk into client trust, so the choice should start from what your relying parties already trust.
| Option | When it fits | What clients must trust | Main risk |
|---|---|---|---|
| Reissue the intermediate from the existing root | The root is still trusted everywhere, and the intermediate key or its lifetime is the only thing changing | The existing root, with no new trust anchor added | Clients that pin the intermediate or its issuer chain may fail until they fetch the new certificate |
| Cross-sign a new intermediate | The root stays in use, but you need a new intermediate key that chains to the same root | The existing root, plus the cross-signed intermediate presented alongside the new one | Chain building errors on clients that pick the wrong path or ignore the cross-signed certificate |
| Introduce a new root with cross-signed intermediates | The existing root is nearing end of life or its key must be retired, and clients can receive a new trust anchor | The new root, and the old root until every relying party has migrated | Clients that trust only the old root reject new leaves, and removing the old root too early breaks them |
| Use the manual_chain override for cross-signed intermediates | You must control exactly which chain OpenBao returns for an issuer, such as during a transition with cross-signed intermediates | The chain you configure, which must be verified against the trust store of each client | Misconfigured chains are served silently, so confirm the behavior for your chosen version before relying on it |
Sequence for planning and running a CA rotation
This sequence moves an OpenBao PKI mount from its current issuer to a new root or intermediate without breaking clients that still trust or present the old chain. Each step closes with a check, so the team knows when it can move on. The result is a documented rotation record and a removed old issuer that no certificate depends on.
Inventory chain consumers and trust stores
The platform or PKI team lists every system that validates or presents certificates issued from the current CA: load balancers, service meshes, databases, Kubernetes clusters, endpoint trust stores, mobile apps, partner integrations and any pinned certificates. For each consumer, record where its trust bundle lives, who owns it, and whether it can accept a new root or intermediate without a restart or redeploy. The inventory is complete when every consumer has an owner and a trust store location, and the owners have confirmed they can update it. Ask each owner to confirm this in writing before the rotation is scheduled.
Decide the root or intermediate path
The team chooses whether the rotation replaces a root, an intermediate, or both. Replacing an intermediate is usually narrower because the root and its existing trust stores stay in place. Replacing a root reaches every trust store in the inventory and needs a longer coordination window. The decision record names the affected trust anchors, the key types for the new issuer, and who signs off on the trade-off. The decision is final when the record has been approved and the inventory shows which consumers must change.
Create the new issuer in the mount
The operator generates or imports the new CA key and certificate inside the existing PKI mount, using the issuer reissuance or intermediate generation workflow documented for OpenBao. Keep the new issuer's name and key type recorded so later steps can refer to it unambiguously. Confirm the new issuer appears alongside the old one with
bao list pki/issuersand that its certificate parses withopenssl x509 -noout -text. The step is done when both issuers are listed and the new certificate carries the intended subject, key type and validity.Cross-sign or reissue the certificate
The team creates the bridge that lets clients that trust only the old root validate chains from the new issuer, or the reverse. Depending on the design, this means cross-signing the new intermediate with the old root, or reissuing the new certificate with the old issuer's key. Record which certificate is signed by which key and the validity window of each. The step is done when the cross-signed certificate exists and
openssl verify -CAfilesucceeds against the old trust bundle for a chain built from the new issuer.Set the default issuer deliberately
The operator decides which issuer the mount uses for new issuance and changes the default to the new issuer only after the consumers in the inventory are ready to accept it. Changing the default affects every role that does not name an issuer explicitly, so review role definitions first and pin issuers where needed. The check is
bao read pki/config/issuersshowing the intended default, followed by a test issuance from each role that confirms the leaf chains to the expected issuer. Record the change and the time it took effect.Publish chains with manual_chain where needed
Where automatic chain building does not produce the chain that consumers need, the operator sets the issuer's manual_chain so that the issued bundle includes the cross-signed intermediate or the correct ordering. Verify the chain each consumer receives, not only the chain the mount reports. Run
openssl s_client -connect host:port -showcertsagainst a representative endpoint and compare the presented chain with the expected one. The step is done when every consumer type in the inventory presents a chain that validates against both trust bundles.Run the transition period with client verification
Both issuers stay active while the platform team watches for validation failures. The team checks representative clients from each consumer group, reviews application and proxy logs for certificate errors, and confirms that consumers which were scheduled to update their trust stores have done so. Keep the window open until the inventory owners confirm their systems validate the new chain and no failures have appeared in the monitored logs. The transition is complete when the verification checklist is signed off for every consumer group, and the sign-off names the owner for each.
Remove old issuers after dependency checks
Before deleting the old issuer, the team confirms that no unexpired certificates still depend on it, that no role or tooling references it, and that no consumer requires it for validation. Check the certificate store for leaves issued under the old issuer and confirm the expiry dates, then remove the issuer through the documented delete procedure. Verify afterward that the remaining issuers validate the production chains with
openssl verifyagainst the new trust bundle only. Keep the rotation record, including the removal date, with the PKI documentation.
How old and new issuers coexist during the transition
The rotation starts with only the current issuer serving chains. A new issuer is added to the same PKI mount and cross-signed by the old one, so clients that trust either root can still validate leaves. During the transition both issuers serve chains, and the trust store decides which path a client accepts. Before removing the old issuer, confirm that every client trust store carries the new root and that no manual_chain setting still points at the retired issuer.
Phases of issuer rotation and the client trust decision point.
Key custody and trust risks during a CA rotation
A CA rotation changes which key signs certificates and which chain clients trust, so mistakes affect every service that relies on the PKI mount. The cards below cover the controls that keep the old root protected, the issuer changes controlled and the trust chain correct through the transition.
Protect the old root key
Before rotating, confirm where the existing root or intermediate key is stored and who can export or use it. Decide where new key material is generated, ideally on the OpenBao mount or on an offline signing host you control, and record that decision in the change plan. Keep the old key recoverable until the transition is closed, because removing it early removes your ability to re-sign or revoke against it.
Limit who can issue or change issuers
Changing the default issuer or issuing from a new CA affects every role on the mount. Restrict the policies that allow issuer generation, import, reissuance and default issuer changes to a small named group, and separate those rights from routine certificate issuance. Review the token and policy paths that can reach the PKI mount before the change window opens.
Avoid publishing a wrong chain
A cross-signed intermediate or an incorrect manual_chain value can cause clients to receive a chain they cannot validate. Before switching the default issuer, test issuance and chain building against a staging client and confirm the chain returned for each role. Treat the chain as a deliverable with its own review step, not a side effect of the rotation.
Distribute trust stores deliberately
Clients, load balancers and devices hold their own trust stores, and OpenBao cannot update them. List every system that pins the old root or intermediate, and confirm how each receives the new trust anchor and in what order. Plan for systems that update slowly, since a rotation finished on the PKI side can still break connections on hosts that have not received the new anchor.
Audit every issuer change
Record each issuer creation, import, cross-sign, default change and deletion with the operator identity and timestamp. Forward those audit entries to your log store so they survive cluster issues and can be reviewed later. Compare the audit trail against your change ticket during the post-rotation review.
Keep the old issuer until transition ends
Do not delete the previous issuer until every client has validated certificates under the new chain and any certificates signed under the old one have expired or been replaced. Set a dated transition end criterion in the plan and confirm it with the owners of each dependent system. Deletion is the step that cannot be reversed, so make it the last action.
Questions teams ask before rotating an OpenBao CA
How much effort does an OpenBao CA rotation take?
Effort depends mainly on how many systems trust the current CA, how many certificates it has issued, and how many mounts, roles and automation jobs depend on the current issuer. A single intermediate used by a handful of internal services is a small change. A root that anchors browsers, container platforms, network devices and partner trust stores is a multi-team project with its own change calendar. Ask any partner for a written scope that lists the trust stores, issuers and renewal jobs in the first pass, and ask how each one will be tested before the old issuer is retired.
Can an internal team rotate the CA without outside help?
Yes, if the team has someone who understands OpenBao PKI issuers, chain building and the trust stores in use, and if it can test changes outside production first. The harder parts are rarely the OpenBao commands. They are finding every client that pins or caches the old chain, coordinating restarts and keeping renewal automation working through the transition. Teams with a small PKI footprint often manage this internally. Teams with many clients, regulated change control or no spare test environment often bring in a partner for planning, testing or a second pair of hands on the cutover.
What inventory and access does the rotation need from our team?
The rotation needs a complete list of certificates and their chains, every mount and issuer in use, every role and automation job that requests certificates, and every trust store that must receive the new root or intermediate. Your team also needs administrative access to the OpenBao cluster for the planned changes and to the trust stores, which may be operating system bundles, container base images, application keystores, device configurations or partner systems. Change windows must be agreed with the owners of each system, because some clients only reload trust after a restart or a maintenance release.
How long does the transition period run, and what sets its length?
The transition period lasts until every client that will ever need to validate certificates from the old issuer has received the new trust path, and until the longest-lived certificates issued by the old issuer have expired or been reissued. The main drivers are the validity period of existing leaf certificates, how quickly trust stores are updated across your fleet, and how long devices or partners take to accept a change. Before fixing a date, confirm the maximum validity of your certificates, the update cadence of each trust store and any external parties that must approve the change.
Is cross-signing required when rotating an OpenBao CA?
Cross-signing is not always required, but it is often the safest way to keep clients working while they move to a new issuer. Without it, a client that only trusts the old root will reject certificates chained to a new one until its trust store is updated. A cross-signed intermediate lets both the old and new issuers vouch for the same key, so existing trust paths remain valid during the transition. OpenBao provides the reissuance and cross-signing primitives and the manual_chain override for cross-signed intermediates. Your engineers should test each chain with the clients that consume it before any old issuer is removed.
What happens to certificates that were already issued by the old CA?
Certificates already issued by the old CA remain valid until their own expiry date, as long as clients can still build a trusted path to the old issuer. Rotation does not revoke them by itself. Teams should decide which certificates to reissue under the new issuer, which to let expire, and which to revoke because the key or the issuer was compromised. Check how revocation status is published for each issuer, including CRL and OCSP endpoints, because clients that depend on revocation checks may behave differently after the change. Record the decision for each group of certificates in your change plan.
Which parts of the rotation carry the most risk?
The highest risks are clients that pin the old root or intermediate, services that cache chains until restart, automation that requests certificates from the wrong issuer, and removing an old issuer before every dependent certificate has been replaced. Each of these fails in a way that can look like an outage. Mitigate them with a staged rollout, a test chain for each client type, a rollback path that keeps the old issuer available until the transition closes, and monitoring for certificate validation errors during the change window.
How DeployOpen scopes and delivers a CA rotation
DeployOpen plans and implements OpenBao PKI rotation inside your own infrastructure, as a fixed-scope engagement. The written scope fixes which mounts, namespaces and issuers are in play, which deliverables you receive, and the timeline agreed before any change touches a production mount. A useful first step, whether you run the work yourself or hire a partner, is an inventory: every root and intermediate mount, every issuer and its key type, every role and tool that reads from the chain, and every place a certificate bundle is pinned. Those findings decide how much of the rotation is a configuration change and how much is a coordinated change across client trust stores and services.
The work then moves through chain design, implementation, verification and handover. Chain design settles whether the new issuer is reissued from the existing key or cross-signed, and what the manual_chain override must contain so that leaf certificates continue to validate during the transition. Implementation runs the change in a staging cluster first, followed by the production mount, with a documented rollback point. Verification checks issued certificates against trust stores that have and have not received the new chain. Handover delivers runbooks for removing the old issuer once consumers have moved. The schedule and effort depend on the number of mounts and consumers, so ask for both to be broken out in the written scope.
DeployOpen prepares systems, controls and evidence for compliance reviews, including change records, configuration exports and verification results. It does not issue audit reports, attestations or certifications, and independent auditors or certification bodies make those determinations. Once the rotation is complete, ongoing support, upgrades and periodic PKI health reviews are available as a retainer, which suits teams that want the transition watched through the first renewal cycles. Confirm with your auditor which evidence they expect before the engagement starts, so the deliverables match what they will ask for.

