Planning Fabric CA topology: organization CA, TLS CA and intermediate CAs

Decide how many CAs each Fabric organization runs, whether TLS gets its own CA or shares one, when intermediate CAs pay off, and which user registry and deployment order to use.

On this page

Planning Fabric CA topology before the first identity is issued

A consortium member standing up its first Fabric network must decide, before any peer, orderer or admin identity exists, how its certificate authorities are arranged. That arrangement determines how many CA servers the organization runs, whether TLS certificates come from a separate TLS CA or a dual-headed one, whether intermediate CAs sit between the root and the identities, and which user registry the CA uses. Plan this before the first enrollment, because every identity your MSP later trusts carries a chain back to these choices.

Fabric CA is the service that registers identities or connects to LDAP as the user registry, issues enrollment certificates, handles renewal and revocation, and generates certificate revocation lists (CRLs). Each organization typically needs an organization CA for signing its MSP identities and a TLS CA for the transport certificates that peers, orderers and clients use. The Fabric CA deployment guide treats intermediate CAs as optional: they add a chain of trust and let large organizations scope certificates by department, but they also add another signing service to back up, renew and protect. Confirm with your own security team whether a single organization CA will meet your separation-of-duties needs before adding layers.

Changing topology later is expensive because the root certificates of each CA are copied into MSP folders, channel configuration and TLS trust settings across every node and channel the organization joins. If a dual-headed CA is not used, the TLS CA must be deployed before the organization CA so it can issue that CA's TLS certificate, which fixes the deployment order. Ask your team to document the user registry choice (Fabric CA's own database or LDAP), the database backend, and the expected naming of each CA before the first identity is issued.

Which CAs an organization needs and what each one signs

Every organization on a Fabric network relies on a small set of certificate authorities, each issuing a different kind of identity. The organization CA issues the identities that sign transactions and administer the network, while the TLS CA secures the connections between nodes and clients. Knowing what each certificate is used for tells you which CA to protect, how often it must be renewed, and where revocation has to reach.

Organization CA and its signing identities

The organization CA issues the enrollment certificates that identify people and applications from your organization. These identities sign transaction proposals, submit channel updates and act as administrators when a peer or orderer is managed. Because an admin certificate can change channel configuration, this CA is the most sensitive trust anchor in your organization. Check who can enroll, which identity types it issues, and how its root key is stored.

Fabric CA user guide

TLS CA for nodes and clients

The TLS CA issues the TLS certificates that peers, orderers and client applications present when they open connections. These certificates protect traffic between nodes and also let the network check that a caller is who it claims to be on the transport layer. The TLS CA is usually deployed before the organization CA, because the organization CA needs a TLS certificate of its own. Confirm which hostnames and subject alternative names your nodes will need before you issue anything.

Dual-headed TLS and organization CA

A dual-headed CA runs one server that issues both TLS and organization certificates, which shortens the first deployment. Its drawback is that a single compromise or outage reaches both roles at once, and separating them later means re-issuing identities. Decide early whether your security team requires separate trust domains for TLS and signing. Ask the vendor or your own design review how the dual-headed setup is documented for your Fabric CA version.

Intermediate CAs for scoped trust

Intermediate CAs are optional. They add a chain of trust between the root and the leaf certificates, and they let a large organization scope certificates by department or business unit. An intermediate can be revoked or rotated without replacing the root, which limits the blast radius of a mistake. The cost is a longer chain to build, distribute and validate in every MSP. Add intermediates only when you can name the departments or trust boundaries they will serve.

Admin and peer identities from the organization CA

Admin certificates and node identities are issued from the organization CA and placed in the MSP folders that peers and orderers read. An admin certificate that expires or is lost can block channel changes, while a node certificate that expires can stop a peer or orderer from participating. These identities need a named owner, a renewal date and a tested recovery path. Confirm your renewal process before the first certificate reaches its expiry.

Revocation and certificate revocation lists

Fabric CA handles renewal and revocation and can generate certificate revocation lists. A revoked identity keeps working until the revocation reaches the MSP and channel configuration that verifiers use, so the CRL distribution path matters as much as the revocation itself. Plan how you will publish and update CRLs for each CA, and who approves a revocation during an incident. Check the revocation procedure against your own change process before go-live.

Topology options and when each fits

This table compares a separate TLS CA, a dual-headed CA that issues both organization and TLS certificates, and a design with intermediate CAs under a root. Read each row across the three columns to see the security benefit, operating load, revocation impact and typical fit. The main takeaway is that the TLS CA decision drives deployment order, while intermediate CAs are an optional layer added for scoping rather than a requirement.

FactorSeparate TLS CADual-headed CAIntermediate CAs under a root
Security benefitTLS keys and signing material are isolated from organization identity issuanceOne CA signs both identity and TLS certificates, so fewer components hold signing keysAdds a chain of trust, so the root can stay offline while issuing CAs handle daily signing
Operational loadTwo CA services to run, back up and renew; the TLS CA must be deployed firstOne CA service to run and maintain, with a single enrollment and renewal processSeveral CA services plus root management; more certificate chains to build and monitor
Revocation impactRevoking a TLS identity does not affect the organization CA's signing scopeRevocation covers both identity and TLS roles, so the scope of a compromise is widerRevoking an intermediate affects only the certificates it issued, which limits blast radius
Certificate scopingTLS and organization certificates are separated by CA, not by departmentScoping is by identity type only, with no departmental separationCertificates can be scoped by department or function through separate intermediates
Deployment orderTLS CA deployed before the organization CA, which issues its TLS certificate from the TLS CASingle deployment step, since the same CA issues the organization's TLS certificateRoot and intermediates are sequenced so each issuing CA has a parent before enrollment begins
Typical fitOrganizations that want a clear split between identity and transport keys without extra layersSmall or single-team networks where a simpler CA estate is the priorityLarge organizations with departmental separation needs or a formal offline root policy
Points to confirmWhich TLS CA signs peer and orderer TLS certificates and how its key is storedWhether your policy accepts one signing key for both identity and TLS rolesWhether your auditors expect an offline root and how intermediates will be named and retired

When intermediate CAs are worth the added complexity

Intermediate CAs are optional. A Fabric organization can run a single organization CA that issues every enrollment certificate for its members, and many networks do exactly that. An intermediate CA is worth adding when you need a chain of trust that separates who issues certificates from who is trusted at the root, or when a large organization wants to scope certificates by department, business unit or legal entity. The Fabric CA deployment guide describes both reasons as the main drivers. Before you decide, confirm whether your MSP definition can express the scoping you want using the single organization CA and its affiliation model, since that alone may remove the need for another CA.

Each intermediate CA is a running service you own, not a one-time setup. For every intermediate CA you need to plan the signing key and where it is stored, the enrollment identities and their registrations, the process for renewing its certificate before it expires, and the handling of revocations it issues. You also need to keep the MSP chain content current: the intermediate certificate must be included in the MSP folders that peers, orderers and clients use to verify identities, and a change to that chain has to reach every node that validates against it. Ask your team who will perform these tasks, how they are tested, and what happens if the intermediate CA is unavailable during a renewal window.

A single organization CA is usually enough when one team administers the organization's identities, the membership is small, and the scoping needs can be met with affiliations and attributes. Adding intermediates increases the number of certificates, keys and chains that must stay consistent, and each extra layer adds a recovery path to test. Confirm with your security and operations leads whether the added chain of trust is a requirement from your policies or an assumption, and record that decision with the TLS CA choice so later changes to the hierarchy are deliberate.

Deploy the TLS CA first when no dual-headed CA is used

The diagram starts with the TLS CA, which issues the organization's TLS certificate because no dual-headed CA is in use. The organization CA follows, and then the peers, orderers and admin identities that depend on it. The dashed boundary separates the organization's own infrastructure from the consortium MSPs that other members rely on. Before moving on, confirm that each TLS certificate chains to the TLS CA and that each signing identity is enrolled from the organization CA.

Deployment order and trust relationships between the CAs and the identities they issue.

How to sequence CA deployment for a new organization

This sequence turns a planning decision about CA count and TLS model into a working set of Fabric CAs, with each step closing on a check that proves the certificates chain correctly into the organization's MSP before any node is enrolled.

  1. Decide CA count and TLS model

    The architecture lead decides how many CAs the organization runs, whether the TLS CA is separate or dual-headed with the organization CA, and whether any intermediate CAs are needed for departmental scoping. Intermediate CAs are optional, so the default answer for a small organization is often one organization CA and one TLS CA. Record the decision in a topology document that names every CA, its host, its root certificate and its owner. Done when the document is signed off by the security and platform leads and lists the MSP identities each CA will serve.

  2. Choose the database and user registry

    The platform team selects the backend database for each CA (SQLite is the default, while PostgreSQL and MySQL are the supported alternatives) and decides whether identities are registered in the CA's own store or checked against LDAP. If you plan more than one CA server behind a load balancer, the shared database must be chosen now, because it cannot be swapped later without a migration. Confirm the exact database versions and LDAP options with the Fabric CA user guide and your own environment. Done when the database connection and registry settings are written into each CA's configuration and a test startup succeeds.

  3. Deploy the TLS CA first when not dual-headed

    If the TLS CA is separate from the organization CA, deploy and start it before anything else, because the organization CA needs a TLS certificate issued by the TLS CA to serve its own endpoint. The platform engineer enrolls the CA administrator and confirms the CA's root certificate is generated and reachable. Check the output by fetching the TLS CA certificate and inspecting its subject and validity period with openssl. Done when the TLS CA responds to its enrollment endpoint and its root certificate is saved for distribution.

  4. Deploy the organization CA and issue its TLS certificate

    The platform engineer starts the organization CA and enrolls it for its TLS certificate against the TLS CA, using the TLS CA's root as the trust anchor. If you are using dual-headed CAs, this step instead uses the shared CA deployment, with one server handling both signing roles. Confirm the organization CA's TLS certificate chains to the TLS CA root by running openssl verify with the TLS CA certificate as the CA file. Done when the verification returns OK and the organization CA serves HTTPS on its configured port.

  5. Register identities for nodes and administrators

    The CA administrator registers identities for each peer, orderer, admin and client that the organization will operate, setting attributes and affiliations that match the organization's structure. Keep registrations under a documented naming scheme so later revocation and audit can trace each identity to a person or service. Verify the registry by listing identities through the CA client and checking that each expected name, type and affiliation appears with no unexpected entries. Done when the identity list matches the topology document line for line.

  6. Enroll nodes and admins and build the MSP

    Each node and administrator enrolls with its registered identity to receive signing and TLS certificates, and the organization's MSP folder is assembled with the root CA certificate, intermediate certificates if any, and the admin certificates that will sign channel updates. Use the Fabric CA client to enroll, then copy the output into the MSP layout that peers and orderers expect. Check that the directory contains the expected cacerts, signcerts, keystore and tlscacerts paths. Done when the MSP folder validates for each node.

  7. Verify certificates chain into the MSP

    Before any channel or consenter depends on these certificates, the security engineer confirms that every node certificate, admin certificate and TLS certificate chains back to the CA root in the MSP by running openssl verify against the CA chain file. Also confirm that the certificate subjects, organizational units and validity dates match the topology document. Any certificate that fails this check should be reissued before the network moves on. Done when every certificate in the topology document verifies against its intended root and the results are saved as evidence for the change record.

Choosing the user registry: Fabric CA internal registry or LDAP

Choose the internal registry when your organization has no suitable enterprise directory for Fabric participants, or when the Fabric network is a consortium where each member's identity team should not depend on another member's directory. In this model, Fabric CA itself holds the registry of identities, including their names, secrets, affiliations and attributes. An administrator registers each identity with fabric-ca-client register, and the enrolling party then requests its certificate. Registration is a manual or scripted administrative act, so the process you write for it is the control that matters.

  • Registration: Every identity is created by a CA administrator or an automated pipeline holding admin credentials. Decide who may register peers, orderers, admins and users, and record the approval step outside the CA.
  • Renewal: Certificates are renewed through the CA, and the registry entry must still exist and be enrollable. Check that enrollment secrets are rotated and not left in configuration files.
  • Offboarding: Removing a person means revoking their certificates and deleting or disabling their registry entry. Both steps must be in the runbook, because a deleted entry alone does not invalidate issued certificates.
  • Audit evidence: Registration records, affiliation and attribute assignments, and revocation events live in the CA database. Confirm which CA logs you keep and where they are stored, and ask your auditor which evidence format they accept.

Before committing, confirm that your organization can run the registry administration process without a directory team, and that your offboarding steps cover both the registry and the MSP.

Security decisions that follow from the CA layout

Where each CA's keys live, who can act as administrator, and how far a single compromise reaches all depend on the topology you choose. The cards below cover the decisions to settle before the first CA is deployed, and they point to the sibling topics that carry out each step.

Protect CA signing keys in an HSM

Fabric uses the PKCS#11 standard to keep peer and orderer MSP keys in a hardware security module. TLS keys must remain file-based, so an HSM does not cover the whole node. The prebuilt Docker images are not built with PKCS#11, so a custom image is required if you plan to use one. Check early whether your HSM and your container platform can support that image, because the choice affects the build pipeline. The step-by-step setup for Fabric CA signing keys is covered in the sibling topic on protecting those keys with an HSM.

Fabric HSM docs

Separate TLS and organization administration

A dual-headed CA puts TLS and organization identities under one authority, which is simpler to run but gives the same team control over both. Separate TLS and organization CAs let your security team manage transport certificates while your network operators manage member identities. Decide who holds each CA's administrator credentials and who can approve enrollment before you choose a topology. Write this split into your governance documents so it can be audited later.

Limit admin identity sprawl

Each organization needs at least one administrator identity that can change channel configuration and approve chaincode definitions. Admin certificates are issued by the CA, so every additional CA or enrollment path adds another place where admin material can be copied or lost. Decide how many admin identities you need, where their enrollment secrets are stored, and who can reissue them. Confirm with your Fabric operators how admin certificates are rotated before you deploy anything to production.

Scope revocation with the topology

Revocation removes trust from certificates issued by a given CA, so the CA layout sets the blast radius of a compromise. A single organization CA that signs both member and TLS identities means one revocation affects every identity it issued. Intermediate CAs can contain the impact to one department, but they add more CRLs to publish and maintain. Map each CA to the identities it controls and test how you would publish a revocation list to the MSPs and channel configuration before you commit to a design.

Plan renewal alongside revocation

Every CA certificate and every identity certificate has an expiry date, and an expired certificate can block peers, orderers or admin actions. The depth of your CA hierarchy determines how many certificates must be renewed and in what order. Record the expiry date of every CA and admin certificate in your operations calendar, and assign an owner to each one. The steps for recovering after expiry are covered in the sibling topic on expired certificates.

Questions teams ask before planning Fabric CA topology

What drives the cost of planning a Fabric CA topology?

The main drivers are the number of organizations on the network, how many CAs each organization runs, and whether you add intermediate CAs, an HSM or LDAP as the user registry. Each organization adds its own CA hierarchy, enrollment decisions and MSP material, so the work grows with the count of members rather than with the size of the ledger. An HSM adds key ceremony, PKCS#11 build work and operational controls around PINs. LDAP adds identity mapping and access testing. Ask any provider to price these items separately so you can see which choices move the quote and which are one-time versus recurring work such as later renewals and revocations.

Does the number of intermediate CAs change the effort?

Yes. Intermediate CAs are optional, and they add a chain of trust and let large organizations scope certificates by department. Each intermediate CA needs its own enrollment identities, a defined place in the hierarchy, a documented renewal path and tested revocation handling. Adding one or two intermediates to a single organization is a small design change, while a layered structure across many departments and several organizations multiplies the testing and runbook work. Decide the count during planning, because changing the hierarchy after MSPs are distributed is far more expensive than designing it correctly at the start.

What does our security and platform team need to provide?

Plan to supply named owners from security, platform engineering and each member organization, plus a decision on who holds CA administrator credentials. Security teams usually need to approve the trust hierarchy, key protection requirements such as HSM use, and the revocation and renewal policy. Platform teams provide the hosts or Kubernetes namespaces, database access for the CA cluster if you run one, DNS names, and network paths between CA servers and the peers and orderers that enroll against them. Access to your LDAP directory, if used, must be arranged before the design is finalized. Writing these responsibilities into the scope protects both sides when work starts.

Can our internal team plan and run Fabric CA without a partner?

Often yes, if your team already runs PKI and has experience with Fabric MSPs, TLS and Kubernetes or Linux hosting. The Fabric CA user guide and the deployment guide on planning a CA cover the components, but the hard parts are judgment calls: how many CAs to run, whether a dual-headed TLS CA fits your risk model, and how renewal and revocation will work when staff change. Consider a partner for an independent design review, or for the first deployment, while your team takes over operations. Confirm internal skills in PKI, HSM handling and Fabric operations before deciding, and treat any gaps as scope items.

How long does CA topology planning depend on governance decisions?

Planning usually moves at the pace of governance, not engineering. Before CA layout is fixed, the consortium must agree on which organizations join, who may issue and revoke identities, how the trust chain is shared, and what happens when a member leaves. Each unresolved decision blocks the MSP and channel configuration that depends on it. Ask for a written list of governance decisions with named approvers as part of the scope, and ask the provider to state which items they cannot start until those decisions are signed off. Duration figures should come from a written plan built on your own governance calendar, not from general estimates.

Should the TLS CA be separate from the organization CA?

The choice is between a separate TLS CA and a dual-headed CA, and it affects deployment order. If you do not use a dual-headed CA, the TLS CA is deployed before the organization CA so it can issue the organization's TLS certificate. A separate TLS CA lets you split trust and rotation policy between identity and transport, which many security teams prefer. A dual-headed design means fewer servers and less coordination, but it ties both functions to one lifecycle. Document the decision, the order of deployment and the owner of each CA before anyone requests a certificate.

How do we request a quote for CA topology work?

Ask for a quote based on a written scope. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and DeployOpen does not publish a price list. To get a comparable quote, specify the number of organizations, the planned CA hierarchy, whether you need a dual-headed or separate TLS CA, the HSM requirement, the user registry (Fabric CA or LDAP), your hosting environment, and the governance decisions still open. Request the deliverables, the assumptions behind each item, and the items that recur after handover, such as renewals and revocation support.

Should we pick Fabric CA or LDAP as the user registry?

Fabric CA can register identities itself or use LDAP as the user registry, and it still issues enrollment certificates and handles renewal and revocation. Choose LDAP when your organization already manages identities in a directory and needs one source of truth for joiners and leavers. Choose Fabric CA's internal registry when the network is small or your directory is not ready to serve CA lookups. LDAP adds directory access, bind credentials, and mapping work, while the internal registry adds a separate list of identities to govern. Confirm the directory owner, the lookup pattern and the offboarding process before fixing the design.

How DeployOpen scopes Fabric CA topology work

DeployOpen is a Chainscore Labs company that plans, implements, hardens and documents self-hosted open-source platforms inside the client's own infrastructure, including the cloud accounts, data centers or air-gapped networks where a Fabric network runs. For CA topology work, that means the scope covers the organization CA, the TLS CA, any intermediate CAs, the user registry choice, the database behind each CA and the hosts or containers that run them. Most engagements are fixed-scope, so the decisions in this topic (how many CAs each organization runs, whether the TLS CA is dual-headed, and where intermediates fit) are written down before any build starts.

A written scope for this work should name each CA, its host, its database and its owner, along with the deployment order, the enrollment and registration workflow, and the operational handover. Deliverables typically include the topology diagram, configuration files, a tested enrollment and renewal runbook, and documentation for the team that will run the CAs afterward. Timelines depend on how many organizations join the network, whether an existing corporate PKI or LDAP directory must be integrated, and whether HSM protection is in scope, so ask for those items to be listed explicitly rather than assumed. A quote follows from that written scope. Ask the partner to state which items are excluded, such as custom builds needed for PKCS#11 or migration of existing identities.

Ongoing support is available as a retainer for work that continues after handover, such as CA upgrades, certificate renewals, revocation requests and periodic checks of expiry dates. Ask any partner, DeployOpen included, to confirm in writing what the retainer covers, how requests are routed and what response expectations apply. DeployOpen does not hold certifications or partner status for Hyperledger Fabric on the basis of this page, so verify the scope and team qualifications directly through the written proposal.

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.