OpenBao PKI performance: certificate storage, key types and tidy

Where a busy OpenBao PKI spends its capacity, which choices drive storage growth and tidy time, and what to measure before you size the cluster.

On this page

Why OpenBao PKI performance depends on how many certificates you keep

If your internal CA issues certificates for services, short-lived workloads or ACME clients, and the volume grows each quarter, performance is driven mainly by four things: how many certificates the mount stores, which key types it issues, how often clients renew, and how often tidy runs. Storage volume and issuance rate are the variables to measure first, because they determine how much work each request and each maintenance pass carries. The OpenBao documentation does not publish PKI throughput figures, so this page gives you drivers and a method rather than benchmark numbers.

Size the cluster from measured volumes, not from assumptions. Before you pick a storage backend or node count, record the number of issued certificates per day, the share of those that are ACME or short-lived renewals, the total count currently stored in the PKI mount, and the key types in use. Run a pilot against a copy of your expected load and watch request latency and tidy duration. Ask your vendor or the project for any published guidance on PKI load, and confirm it against your own test results. Context for where that stored data lives: OpenBao documents integrated storage (Raft) and PostgreSQL as its main backends, and since OpenBao 2.5.0 Raft standbys can serve read-only operations, a capability v2.7.0 extended to PostgreSQL. Read scaling helps read-heavy traffic; it does not reduce the write cost of issuing and storing each certificate.

Store less where you can. Every issued certificate that is kept becomes data the cluster must hold, index and eventually clean up, so a mount that stores every short-lived leaf certificate grows without a natural limit. Decide per role whether the certificate must be stored for later lookup, listing or revocation, or whether it can be issued without storage and tracked by its own lifecycle. Confirm with your security team which records they need for audit and revocation before you turn storage off, because the choice affects CRL and OCSP behavior and incident investigation. Plan a tidy schedule against your measured growth, and test it on a non-production mount first so that a long-running cleanup does not surprise your on-call team.

How an issuance request moves through OpenBao PKI to storage

The diagram starts at a client or ACME client on the client network and crosses into the OpenBao cluster at the trust boundary. The API hands the request to the PKI role checks, then to key generation and signing on the active node, which is the only node that writes. When the certificate is stored, the write goes to the storage backend; when it is not, the certificate returns directly to the client. Check that your storage backend and its locking behavior match your tidy schedule, since the tidy job and the revocation list both read from the same store.

Issuance path with storage, tidy and revocation lanes shown separately.

Storage, key type and tidy options and when each fits

This table compares certificate storage, key types and tidy for a busy OpenBao PKI mount, with one row per decision. Read each row for what it changes in storage, signing, lookup and revocation, then check the behavior against the PKI documentation for your OpenBao version before you size the cluster.

OptionWhat it changesWhen it fitsWhat to confirm
Store every issued certificateEach issuance adds a stored record, so storage and tidy work grow with issuance volume.Fits when you need lookup by serial, inventory or revocation by serial.Confirm the storage behavior and tidy options for your version in the PKI docs.
Issue without storingThe certificate is not stored, so lookup and revocation by serial in OpenBao are unavailable for it.Fits high-volume short-lived certificates where you keep your own serial records.Confirm the no-store setting, its effect on revocation, and where your team records issued serials.
RSA keysLarger keys and typically slower signing, with the broadest client compatibility.Fits legacy clients, appliances or middleboxes that accept only RSA.Confirm supported key lengths and the TLS stacks of each client you serve.
ECDSA keysSmaller keys and certificates and generally faster signing than RSA at comparable strength.Fits most internal TLS services where clients support ECDSA.Confirm supported curves in the PKI docs and test each client library.
Ed25519 keysSmall keys and fast signing, with client support depending on the TLS stack.Fits controlled internal services where every verifier supports Ed25519.Confirm Ed25519 support for issuers and leaf certificates in your version.
ML-DSA (FIPS 204) keysPost-quantum signatures with larger keys and signatures than classical options.Fits crypto-agility pilots on OpenBao 2.7 where all clients accept ML-DSA.Confirm which ML-DSA certificate types are supported and the OCSP limitation for ML-DSA issuers.
Tidy of stored certificatesRemoves expired certificate records, and the work grows with the number of stored entries.Fits any mount that stores certificates over a long period.Confirm tidy options, whether tidy runs automatically, and how it is scheduled in your version.
LIST and serial lookupListing a large stored set takes longer as the set grows, which affects audits and inventory jobs.Fits teams that query issued certificates by serial or run periodic inventories.Confirm list behavior, filtering and pagination in the API reference for your version.

How key types change signing load and certificate size

Key type sets the baseline cost of every certificate your OpenBao PKI mount issues, so choose it before you size the cluster. RSA costs grow quickly with key size. Generating an RSA key is expensive, and signing with a large RSA key takes noticeably more CPU than signing with a smaller one, while the certificate and its signature also grow. Elliptic curve keys such as ECDSA on the NIST P-256 or P-384 curves produce much smaller keys and signatures for comparable classical security, and signing is typically cheaper than RSA of the same strength. Ed25519 is compact and fast to sign, but confirm that every client, load balancer and revocation consumer in your environment accepts it before you standardize on it. The exact timings depend on your hardware and your key sizes, so treat any general ranking as a starting point, not a measurement.

Post-quantum ML-DSA signatures are larger than classical signatures. ML-DSA (FIPS 204) keys and signatures are substantially bigger than ECDSA or Ed25519 equivalents, so each issued certificate and each CA certificate in a chain takes more bytes to store, return over the API and transfer to clients. That growth shows up in three places: the size of every row written to storage, the size of responses to issuance and read requests, and the size of CRLs and chains that clients download. Confirm the current ML-DSA support in your OpenBao version and the limitations that apply to your issuer type before you plan any size budget around it, since the sibling post-quantum topic covers those limits in detail.

Measure the effect on your own cluster rather than relying on general rankings. The impact depends on the CPU of the active node that performs signing, your request mix (how many issuances, reads and renewals per minute and which key types each uses), and the storage backend you run, whether integrated storage (Raft) or PostgreSQL. Build a representative test on staging that mirrors your real key types, certificate lifetimes and peak issuance rate, then record latency and CPU on the active node and storage write load. Ask your vendor or partner for the benchmark method they will use and make sure the results are reproduced on the hardware you will run in production.

What makes storage, ACME and tidy costs grow

A busy OpenBao PKI rarely fails on one bottleneck. Certificate count, renewal cadence, ACME traffic, serial-set queries and tidy scheduling all draw on the same storage backend, so their costs compound. Review each driver below against your own issuance pattern before choosing storage and key types.

Total stored certificate count

Every certificate issued with storage enabled adds an entry that stays in the backend until it is removed. The count grows with fleet size, renewal frequency and the lifetime of each certificate, so a fleet that renews often accumulates entries quickly. The operator controls whether leaf certificates are stored at all, the role settings that decide this, and how long old entries are kept. Measure the growth rate of stored serials per month and the total size of the PKI mount's storage path.

OpenBao HA docs

Renewal frequency for short-lived certificates

Short certificate lifetimes multiply issuance events even when the number of workloads stays flat. Each renewal is a new signing operation and a new stored record, and the signing cost is paid again on every cycle. Renewal timing also determines when bursts arrive, for example when many services share a lifetime and renew in the same window. Check how many issuance calls per hour your mount sees at peak, and whether renewal jitter is configured in the agents or clients that request certificates.

ACME order and challenge volume

ACME adds traffic that is separate from certificate issuance. Each order creates authorization and challenge objects, and clients retry when validation fails, which can multiply requests during an outage or misconfiguration. Storage writes for these objects and the validation traffic both load the cluster. The operator controls the account and order lifetimes, the client retry behavior and the challenge types offered. Measure orders created, challenges failed and retries per client, not only certificates issued.

LIST and search over large serial sets

Listing certificates or revoked serials walks the stored entries under the mount. The cost of a LIST grows with the number of entries, so operator scripts, health reviews and dashboards that enumerate serials become slower as the set grows. Repeated enumeration from monitoring can add read load alongside normal issuance. Limit how often automation lists the full set, query specific serials where possible, and measure the response time of LIST calls against the current serial count before adding more consumers.

Tidy duration and schedule overlap

Tidy removes expired certificates and old revocation data, and its runtime grows with the number of entries it scans. A tidy run that overlaps with peak issuance competes for the same storage writes and can extend the period of slow responses. Operators control the tidy schedule, which safety buffer keeps recently expired entries, and whether tidy runs on a dedicated window. Record the duration of each tidy run and the issuance rate during that window, then move the schedule to a quieter period if the two overlap.

Storage backend write path under load

Every issuance, ACME order and tidy deletion becomes a write through the storage backend. Integrated storage (Raft) and PostgreSQL each handle write load differently, and both have their own latency and disk characteristics, so the same PKI workload can behave differently on each. Confirm the backend choice with the OpenBao storage documentation and your own test results. Measure write latency, leader election events and disk IO during peak issuance, and test the workload on the backend you plan to run before the production cutover.

Storage backend docs

Store every certificate or issue without storing: decisions by situation

Certificates for web servers, internal APIs and network devices often live for months and may need to be found or revoked after the fact. For this group, storing the certificate in the PKI backend is usually worth its cost, because lookup by serial number and revocation status depend on the stored record. Storage grows with each issuance, so the cost is mainly in cluster size and tidy schedules rather than in any single certificate.

  • Lookup: A stored certificate can be read back by serial number, which helps when a host reports a problem and the team needs the certificate that was issued to it.
  • Revocation: Revoking a certificate you cannot find in storage is harder, so keep the revocation path tied to records you can query.
  • Audit trail: Stored certificates give a record of what was issued, when and under which role.
  • Compensating records: If you choose not to store, keep an inventory of host, service and expiry date from configuration management, plus issuance logs.

Confirm with your security team whether revocation must work for every long-lived certificate and how long issuance records must be kept.

How to size an OpenBao PKI mount before going live

This sequence turns expected certificate volume into a tested cluster design, with measured storage growth, ACME and LIST behavior, and tidy duration recorded before production issuance begins.

  1. Inventory certificate types, lifetimes and clients

    Your PKI team lists every certificate family the mount will issue: TLS for services, client certificates, workload identities and ACME-issued certificates. For each, record the role name, lifetime, the number of distinct clients or hosts, and whether the client renews on a fixed schedule or on demand. Owners of each consuming system should confirm these numbers, since they often differ from what the platform team assumes. The step is done when every role in the design has a named owner and a documented lifetime, and no certificate family is missing from the list.

  2. Estimate issuance and renewal rates

    Convert the inventory into expected rates per hour and per day for initial issuance, renewals and ACME orders, using the lifetimes and client counts from the previous step. Model a peak window, such as a fleet-wide restart or a certificate expiry wave, as well as the steady state. Ask your team to state the assumptions in writing so reviewers can challenge them. The step is done when you have a single table of peak and average rates per role that the load test in a later step will use as its targets.

  3. Choose key types and storage mode per role

    Decide the key algorithm and size for each role, and whether each role stores issued certificates or issues without storing them. Storing every certificate increases the data written to the storage backend and the work tidy must do later, while non-stored issuance returns certificates to the client without keeping a copy on the server. Confirm with your security owner which roles are allowed to issue without storage, because revocation and lookup behavior depend on that choice. The step is done when each role has a recorded key type, storage mode and justification.

  4. Build a staging cluster on the intended backend

    Stand up a staging OpenBao cluster that matches production in storage backend, node count, network path, and any load balancer used for ACME. Use the backend your HA design selected, and confirm the version you plan to run against the current OpenBao releases page before you install. Record the exact versions and configuration so results are comparable later. The step is done when staging passes basic issuance, revocation and health checks and its topology matches the production design on paper.

  5. Run a mixed load test

    Run a load test that mixes certificate issuance, ACME orders, LIST calls on the certificate store and a tidy run, at the rates from your estimate, plus the peak window. Use a load generator your team controls and keep the test running long enough to reach the storage growth you expect in production. Watch request latency and error rates for each operation type separately, because LIST and ACME traffic can degrade issuance even when the raw rate looks acceptable. The step is done when each operation type has a latency and error profile that meets the targets set in the rate estimate.

  6. Record storage growth and tidy duration

    During and after the load test, record the storage used by the PKI mount at fixed intervals, the growth per thousand issued certificates for each storage mode, and the time a tidy run takes against the accumulated data. Compare these figures with the storage capacity and maintenance window your operations team can allow. Ask the platform owner to confirm the backend's capacity and backup impact before the production figures are accepted. The step is done when you have a measured growth rate and tidy duration that your team has reviewed against the planned capacity.

  7. Set the tidy schedule away from peak issuance

    Schedule tidy runs for a period when issuance and renewal volumes are at their lowest, based on the rate profile from the estimate and the peak window identified in the load test. Confirm that the tidy duration measured in staging fits inside that window with margin, and document the reasoning so the schedule can be reviewed after production growth. Run one scheduled tidy in staging to verify that it completes without blocking issuance. The step is done when a written schedule exists and one staged run confirms that issuance latency stays within the targets during tidy.

  8. Set alerts on storage growth and tidy failures

    Configure monitoring that alerts when storage growth moves beyond the rate measured in staging, when a tidy run fails or does not finish within its window, and when issuance or ACME latency crosses the targets from the load test. Route alerts to the owners named in the inventory step. Test each alert by triggering it deliberately in staging before production goes live. The step is done when every alert has fired at least once in staging, an owner acknowledges it, and the thresholds are recorded alongside the load test results.

Security and operations trade-offs in a busy PKI

Every choice that makes an OpenBao PKI faster or lighter, such as skipping storage or tidying more often, also changes what you can prove later. The cards below cover the controls that keep revocation, custody, testing, access and audit intact while you tune the cluster.

Keep revocation data through tidy

Revocation and status checks depend on records the PKI still holds. Before you shorten retention or run tidy more aggressively, confirm which certificates must remain available for revocation status and for audit, and set tidy so it does not remove them. Test this with an illustrative revoked certificate and check its status after each tidy change, rather than assuming the old state persists.

Auth methods docs

Plan custody of CA keys

CA private keys stay on the OpenBao cluster, so their safety depends on how that cluster is unsealed and backed up. Document who holds unseal material, where backups are kept, and how a restored cluster regains the same issuers. Ask your team to rehearse a restore that includes the PKI mount, since a backup without a tested recovery path does not protect the CA.

Test load and tidy on non-production data

Load tests and tidy runs can slow the cluster or delete records, so run them against a copy of production-shaped data, not the live mount. Build the test dataset from your expected issuance pattern, including ACME volume if you use it, and measure LIST and tidy durations before any production window. Record the results so the sizing decision rests on evidence.

Limit LIST and tidy by token policy

LIST and tidy operations can expose or remove large sets of certificate records, so restrict which tokens can call them. Create dedicated policies for the automation that runs tidy and for the operators who review results, and keep application tokens limited to issuance. Review these policies whenever a new automation account is added.

Audit issuance without stored copies

When certificates are issued without storage, the audit log may be the only record that a certificate was issued. Confirm that your audit device captures issuance requests and responses, that logs are retained for your required period, and that they are protected from tampering. Test by issuing a no-store certificate and tracing it through the log.

Put tidy changes under change control

A tidy schedule or storage setting change can remove data that auditors or incident responders later need. Treat these changes like any production change: record the reason, approve it, and write a rollback plan that states how to restore configuration and what data cannot be recovered. Confirm the rollback path with your backup owner before the change is applied.

Questions teams ask about OpenBao PKI sizing and tidy

What does an OpenBao PKI sizing exercise cost, and who pays for it?

The cost is mostly internal staff time plus any environment and outside review you add. Your PKI owners spend time producing the certificate inventory and agreeing targets, your platform or storage engineers spend time on the backend and cluster details, and someone runs load tests against a staging cluster that resembles production. If you hire DeployOpen, the fee comes from the written scope, which lists the roles, clients, load profiles and deliverables covered. Ask any quote to separate one-time work (inventory, load tests, the sizing report) from recurring work (re-tests after growth, tidy schedule reviews). We do not publish prices, so ask for a quote tied to the scope you agree.

How long does an OpenBao PKI sizing exercise take?

It depends on two things: the quality of your certificate inventory and how much access you have to a staging environment that matches production. A team with a clean inventory of roles, issuers, lifetimes and client behavior can move through analysis quickly. A team that must first discover which services request certificates, and how often, will spend most of its time there. Load testing also depends on whether you can reproduce realistic ACME and issuance patterns in a non-production cluster. Ask for a timeline in the written scope after the inventory and environment access are confirmed, not before.

What must our team provide before a sizing exercise starts?

Plan to provide five inputs:

  • A certificate inventory: mounts, roles, issuers, key types and expected issuance volume per role.
  • Lifetimes: the TTLs your roles and clients request, and how often they renew.
  • A client list: services, ACME clients, automation tools and load balancers that call the PKI.
  • Staging access: a non-production OpenBao cluster that matches your production version and topology, with permission to run load and tidy tests.
  • Storage backend details: whether you use integrated storage (Raft) or PostgreSQL, node counts, disk and network characteristics, and backup arrangements.

Missing any of these usually moves the work from measurement to guesswork, so confirm them early.

Can our own team run an OpenBao PKI sizing exercise without a partner?

Yes, if you have people who understand PKI and the storage backend. You need someone who can design the issuance workload and read a CA hierarchy and role configuration, someone who can operate the storage backend and interpret its performance metrics, and someone who can build a repeatable load test. Tidy and LIST behavior also require an understanding of how your certificates are stored and expired. Many teams do the inventory internally and bring in an outside reviewer to check the test method and conclusions. Confirm the current OpenBao documentation for your version before you rely on any tuning guidance.

Is it safe to issue certificates without storing them in OpenBao?

It can be, for specific workloads, but it is a trade-off you should decide per role. Storing every certificate gives you lookup, revocation tracking and a record of what was issued, and it also adds storage growth and tidy work over time. Not storing certificates reduces that load, but it means you lose some of those lookup and tracking capabilities, so your revocation and audit approach must cover the certificates you issue. Before you choose, check how your clients rely on stored certificates, how revocation status is published, and what your compliance evidence needs. Test the behavior in staging before changing production roles.

What drives tidy and LIST times up on a busy OpenBao PKI?

The main drivers are the number of stored certificates, how many of them have expired or been revoked but not yet removed, and the storage backend's speed under concurrent load. Tidy work grows as the certificate set grows, so a mount that has issued millions of short-lived certificates will behave differently from one with fewer long-lived certificates. Scheduling tidy during quieter periods and watching storage latency during the run reduces operational risk. Ask your sizing report to show measured tidy and LIST durations on your data volume, not extrapolated figures.

Limits and what to confirm in your environment

The researched facts describe what OpenBao supports, not how fast a PKI mount runs on your hardware, backend and certificate volume. The cards below list the open questions that decide sizing, and where to answer each one before you commit to a design.

Throughput and storage growth per backend

The project documents integrated storage (Raft), PostgreSQL, PebbleDB and in-memory backends, but the supplied sources do not give issuance rates or storage growth per certificate for any of them. Each stored certificate adds data to the backend, so growth scales with your issuance rate and lifetimes. Run a staging benchmark that mirrors your issuance pattern on the backend you plan to operate, and measure write latency and disk growth over several weeks of simulated load.

Storage backend docs

Tidy behavior at your certificate volume

Tidy removes expired certificates and reclaims space, but how long it runs and how much it competes with issuance depends on how many certificates your mount holds. The sources do not give tidy durations for any volume. Ask for the tidy settings and their effects in the PKI documentation for the version you run, then test tidy on a copy of production-sized data and record the run time and the load it places on the leader.

Key type cost on your CPUs

Key type changes how much CPU each signature and key generation costs, and the effect differs between processor generations, core counts and whether the host has hardware acceleration. The researched facts do not compare key types on any hardware. Benchmark RSA, ECDSA and any post-quantum key type you plan to issue on the actual nodes, using the same OpenBao version and a representative request mix, before choosing a default for roles.

No-store issuance and your revocation method

Issuing without storing reduces backend growth, but a certificate that is not stored cannot be looked up later, and revocation status depends on how you publish it. Confirm in the PKI documentation whether your revocation approach, such as CRLs or OCSP, still works for certificates issued without storage. Test a revoke-and-check cycle on a non-production mount before you change any role to no-store issuance.

Auth methods docs

Concurrent writes under ACME load

ACME clients create orders, authorizations and certificates in bursts, which can produce concurrent writes to the storage backend at the same time as renewals and tidy. The sources do not describe contention behavior under these bursts for Raft or PostgreSQL. Ask the storage backend's own vendor or community guidance how it handles concurrent writes and lock contention, then load test ACME renewal bursts against a staging cluster with the same node count and storage layout.

Performance changes between releases

PKI behavior, defaults and tidy handling can change between minor and patch releases, and the supplied facts list only release dates and version numbers, not their PKI effects. Read the release notes for each version you plan to run, then repeat your staging benchmark after every upgrade before you roll it out to production nodes. Record the version used with each benchmark result so later comparisons stay valid.

OpenBao releases

How DeployOpen scopes and delivers OpenBao PKI sizing

DeployOpen approaches OpenBao PKI performance as a written engineering scope: we measure how many certificates your PKI issues, how long they must be kept, and which key types and ACME flows your clients use, then design storage, capacity and tidy schedules around those numbers. Engagements are fixed-scope, with deliverables agreed in writing before work starts.

How we scope

  • Inventory every PKI mount, role, issuance path and client that requests certificates from OpenBao.
  • Record expected issuance volumes, key types, certificate lifetimes and retention requirements agreed with your security and compliance teams.
  • Define the written scope, deliverables and timeline with you before any cluster change begins.

How we build

  • Test key type choices and issuance rates on a non-production copy of your OpenBao cluster to observe storage growth and response times.
  • Configure certificate storage behavior, ACME settings and tidy schedules against the sizing results and your retention rules.
  • Measure LIST and tidy durations at realistic certificate counts and adjust the cluster sizing and storage backend accordingly.

How we hand over

  • Deliver a sizing report explaining the cost of each storage, key type and tidy choice, with the test evidence behind it.
  • Document the configured tidy jobs, storage settings, monitoring signals and the thresholds that should trigger a resize.
  • Walk your platform and security teams through the runbook so they can operate and review the PKI without us.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover.
  • Re-run sizing checks when issuance volumes, ACME usage or OpenBao versions change in your environment.
  • Confirm with the OpenBao project and your own environment any version-specific behavior before changing production settings.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.