Root CA migration vs intermediate CA migration: where the change starts

A root CA is the trust anchor a relying party is configured with, and an intermediate CA issues certificates below it. The migration point you choose decides which relying parties must change first and what the sources say a new CA certificate can carry.

On this page

Where does a post-quantum CA migration start, the root or the intermediate?

A PKI owner deciding which CA to migrate first is really deciding which certificate relying parties must trust directly. A root CA is the trust anchor: under RFC 5280, a relying party is initialized with a limited number of assured CA public keys, and self-signed certificates convey those keys to begin certification paths. An intermediate CA issues end-entity certificates and sits in the chain beneath the root. The distinction that matters for migration is which element a relying party must trust directly, because that element is the one whose replacement reaches every client that has been configured with it.

This question comes up in hierarchy redesign, in vendor documents that describe a post-quantum CA, and in audit requests asking which CA certificates will change. PKI engineers draw up the hierarchy, security leads approve the sequence, and vendor-risk reviewers check whether a product's documentation says which CA it is replacing. Each of them should confirm which CA certificates are configured as trust anchors in their relying parties, since RFC 5280 does not require a particular CA to be the anchor in every deployment.

RFC 5280 describes a chain running from the end-entity certificate through zero or more CA certificates, and path validation works by matching each certificate's issuer name to the subject name of the CA certificate above it. A relying party that validates a chain therefore depends on the trust anchor at the top of that chain, not on the intermediates in between. Engineers planning the change should list every relying party, record which trust anchor each one holds, and check whether any of them are configured with an intermediate rather than a root. Where an intermediate is configured directly as an anchor, replacing it changes that relying party's trust configuration as well as the chain it receives.

The sources listed on this page do not say how a given vendor sequences its root and intermediate migration, or how long either step takes. Ask the vendor to state in writing which CA certificate changes first, which relying parties must update their trust anchors, and how old and new anchors are kept in place during the transition. Confirm those answers against the RFC 5280 path validation behavior in the specific software versions you run.

Root and intermediate CA compared attribute by attribute

This table compares root and intermediate CA certificates on the attributes the sources cover, including path validation, trust anchor configuration, key usage and signature size. Read each row as a question about where a relying party begins validation and what a post-quantum CA certificate must carry. The main takeaway is that a root certificate is the trust starting point, so its key and placement shape how every other certificate in the path is checked.

AttributeRoot CAIntermediate CA
Role in path validation (RFC 5280 Section 3.2)Starting point of the certification path that the relying party trustsMiddle certificate in a chain running from the end entity up to a root
What a relying party is initialized withA limited number of assured CA public keys, per RFC 5280 Section 3.2Not an initialization input, validated through the chain back to an assured key
Whether a self-signed certificate conveys the keyYes, RFC 5280 says self-signed certificates convey a public key to begin certification pathsNo, it is signed by the CA above it, so its key is conveyed through that issuer's signature
ML-DSA keyUsage for CA certificates (RFC 9881)keyCertSign and cRLSign may be set, so an ML-DSA key can sign certificates and CRLskeyCertSign and cRLSign may be set in the same way, while keyEncipherment and keyAgreement must not be set
Signature size added per certificate, ML-DSA-87 (RFC 9881)One 4627-byte signature from the algorithm of its issuer, counted once per certificate in a pathOne 4627-byte signature added for each intermediate in the path, so chain length drives total size
Trust anchor configuration under the Merkle Tree Certificates draftThe CA ID is the trust anchor, and relying parties signal accepted certificates with the trust_anchors extensionConfigured as a CA identity rather than a chain link, so an intermediate is not itself the anchor

What a root CA and an intermediate CA are in the sources

RFC 5280 Section 3.2 says a relying party is only initialized with a limited number of assured CA public keys, and that self-signed certificates are used to convey a public key for use to begin certification paths. In practice, the root is the trust anchor that a relying party is configured to accept, and its certificate is the starting point of the path rather than a link inside one. The sources describe the root as the entity whose public key begins validation, so the set of trust anchors a relying party holds is what determines which roots a chain may end at.

  • Trust anchor role: The root's public key is configured in the relying party, not received as a link in the chain.
  • Self-signed form: The root certificate is self-signed, as RFC 5280 describes for conveying the key that starts a certification path.
  • Keys that sign CA certificates: Under RFC 9881, an ML-DSA root may carry keyCertSign and cRLSign in keyUsage, so it can sign CA certificates and CRLs.
  • Trust configuration by CA: In draft-ietf-plants-merkle-tree-certs-09, the trust anchor is identified by CA ID and signalled with the trust_anchors extension, so trust is configured per CA rather than through a chain.
  • Limited number of anchors: Relying parties hold a limited set of assured keys, so a root change affects every relying party that trusts it.

Before planning a change, confirm in your own environment which roots your clients and devices are configured to trust, and check the trust store update process for each platform.

Which differences change what a team does first

Root and intermediate CA migrations differ in what they touch, what relying parties must be configured with, and what each certificate in a path costs. The cards below state those differences as consequences, so a team can decide where its first changes belong.

The root is the relying party anchor

Under RFC 5280, a relying party is initialized with a limited number of assured CA public keys, and those keys are the starting points for path validation. Replacing the root therefore changes the anchor that every relying party uses, which means every relying party must be updated or reconfigured. Teams should inventory which systems pin or distribute the current root before scheduling any root change, since that inventory determines the size of the rollout.

RFC 5280 text

Intermediate changes leave the anchor alone

An intermediate CA migration issues new intermediate certificates under the existing root, so relying parties that already trust that root continue to validate the chain without reconfiguration. The work is concentrated in the issuing CA, its certificate profiles, and the end-entity certificates it signs. Teams should confirm that the root they rely on is still the anchor after the intermediate change, and should check that the chain they serve includes the new intermediate.

Each path certificate adds a signature

Every certificate in a path contributes one signature made with its issuer's algorithm, so a chain built with ML-DSA adds that algorithm's signature at each level. RFC 9881 gives the ML-DSA-87 public key as 2592 bytes and its signature as 4627 bytes, and those sizes apply to every certificate in the path. Teams should estimate the total size of the chain they will deliver, because a longer chain increases handshake and storage costs at every hop.

RFC 9881 text

Linking does not change CA certificates

RFC 9763 says the RelatedCertificate extension belongs only in the end-entity certificate. A new post-quantum end-entity certificate can therefore point to an older one without any change to the CA certificates that sign it. Teams that plan to link certificates should expect the linkage work to happen at issuance for end entities, and should not treat it as a reason to reissue intermediates or roots.

RFC 9763 text

Merkle trees configure anchors by CA ID

Under draft-ietf-plants-merkle-tree-certs-09, a standalone certificate's trust anchor ID is the CA ID, and a relying party signals which certificates it accepts with the trust_anchors extension. The anchor is therefore configured by CA rather than by a chain of certificates. Teams evaluating this model should confirm which CA IDs their relying parties accept, because a change to the CA changes the identifier relying parties must match. The draft is not final, so teams should confirm its status before depending on it.

Draft page

How a certification path runs from end entity to trust anchor

The path starts at the end-entity certificate, which is signed by an intermediate CA certificate, which in turn is signed by a root CA certificate. Under RFC 5280 Section 3.2, validation matches each certificate's issuer name to the subject name of the CA certificate above it, and it ends at a trust anchor that the relying party has been initialized with. A post-quantum intermediate sits between the end entity and the classical root, while a post-quantum root is the trust anchor itself, so it must be configured in every relying party that relies on it. Check which certificates in your path carry post-quantum keys and signatures, and which keys your relying parties hold as trust anchors.

The path runs from the end-entity certificate up to the trust anchor configured in the relying party.

Where a root CA and an intermediate CA show up in deployments

A root CA migration and an intermediate CA migration start in different places. A root is the trust anchor that relying parties hold directly. RFC 5280 Section 3.2 says a relying party is initialized with only a limited number of assured CA public keys, and that self-signed certificates are used to convey the public key that begins a certification path. In practice this means a root appears in the trust stores and configuration of the systems that validate certificates: operating system and browser stores, application trust bundles, and any pinned anchors in internal services. Changing a root therefore means changing what every relying party is configured to trust, which is a distribution and configuration problem before it is a cryptography problem. Confirm which trust stores your relying parties read, who controls each one, and how long a new anchor takes to reach them.

An intermediate CA appears one step lower, in the issuing hierarchy and in the certificate profiles that the issuer applies. RFC 5280 Section 3.2 describes a chain running from the end-entity certificate through zero or more CA certificates, and path validation depends on each certificate's issuer name matching the subject name of the CA above it. An intermediate is therefore visible in the chain a server presents and in the profile templates your CA uses to issue end-entity certificates. RFC 9881 allows keyCertSign and cRLSign in the keyUsage of an ML-DSA certificate, so an ML-DSA key can be used for a CA certificate or a CRL, while it cannot carry keyEncipherment or keyAgreement. Check whether your issuing platform can produce CA certificates with the keyUsage values you need before planning an intermediate change.

The same distinction shows up in vendor documents and audit requests. Ask each CA vendor which of its products issue ML-DSA CA certificates and which only issue end-entity certificates, and ask for the version and the RFCs or drafts it implements. Under draft-ietf-plants-merkle-tree-certs-09, a relying party signals accepted certificates through the trust_anchors extension and identifies an anchor by its CA ID, so the trust anchor is configured per CA rather than per chain. Do not assume any product supports ML-DSA CA certificates unless its documentation says so.

How to work out which CA to migrate first

This sequence shows which roots relying parties are initialized with, which intermediates sit beneath them, and how each CA profile and vendor handles ML-DSA and trust anchors. The output is a documented order of CA changes that your team can check against the sources on this page before any certificate is reissued.

  1. Inventory the trust anchors relying parties use

    List every root certificate that relying parties are initialized with, including operating system stores, browser stores, application bundles, and private trust lists in your own environment. RFC 5280 says a relying party is only initialized with a limited number of assured CA public keys, so this list is the set of roots whose change will reach those parties first. Done means you have one record per root with its subject name, key algorithm, and where it is distributed.

  2. Map the intermediates beneath each root

    For each root, identify every intermediate CA that issues end-entity certificates under it, and record which issuing systems use each intermediate. RFC 5280 describes a chain from the end-entity certificate through zero or more CA certificates, and path validation matches each certificate's issuer name to the subject name of the CA above it. Done means you can trace every production end-entity certificate to a named root through a named intermediate.

  3. Check ML-DSA key usage settings in each CA profile

    For each intermediate and root profile that would hold an ML-DSA key, confirm whether keyCertSign and cRLSign are set in the keyUsage extension. RFC 9881 allows both values for ML-DSA, so ML-DSA keys can sign CA certificates and CRLs as well as end-entity certificates. Also confirm that keyEncipherment and keyAgreement are not set, since RFC 9881 says ML-DSA keys cannot establish keys or encrypt data. Done means each profile has a written keyUsage value that you have checked against RFC 9881.

  4. Confirm RelatedCertificate applies to end-entity certificates only

    Check which certificates in your planned hierarchy would carry the RelatedCertificate extension, and confirm that it appears only in end-entity certificates. RFC 9763 says the extension should be included only in the end-entity certificate, so linking a new post-quantum end-entity certificate to an older one does not itself change CA certificates. Done means you have a list of end-entity profiles with the extension and a note that no CA profile includes it.

  5. Ask the CA vendor about certificate models and trust anchors

    Send your CA vendor a written question asking which certificate models it supports, including standalone X.509 chains, composite or hybrid certificates, and any tree-based or other models, and how each model configures trust anchors. Ask whether the trust anchor is set by a root certificate, by a CA identifier, or by a configuration signaled to clients. Use the sources listed on this page as the reference for these terms, and treat the vendor's answer as valid only for the product versions named in your contract. Done means you have a written answer on each model and trust anchor mechanism.

  6. Rank roots and intermediates by the order of change

    Using the inventory, the chain map, the profile checks, and the vendor answers, decide whether each root or intermediate changes first. A root change reaches every relying party that trusts it, while an intermediate change affects only the end-entity certificates issued beneath it. Record the reason for each position in the order, so a reviewer can see which constraints drove the sequence. Done means you have a single ranked list that names each CA and the reason it sits in that position.

  7. Record the sequence and confirm it against the standards

    Write the ranked order as a dated document, attach the chain map, profile checks, and vendor answers, and mark the points that still need confirmation in your own environment. Compare the document against RFC 5280, RFC 9881, and RFC 9763, and against your CA vendor's documentation for the version you run. Done means a reviewer who was not involved can follow each step and find the source for each claim.

How a root change and an intermediate change combine in one hierarchy

A certification hierarchy can be changed at two different levels. An operator can replace an intermediate CA while keeping the root, or replace the root and then reissue the intermediates beneath it. The distinction matters because each choice moves a different set of trust decisions. Under RFC 5280, a relying party is initialized with a limited number of assured CA public keys, and path validation matches each certificate's issuer name to the subject name of the CA certificate above it. A new intermediate under an existing root therefore stays inside the trust anchor relying parties already hold, while a new root is a new anchor that every relying party must be configured to accept.

The sources listed on this page do not establish a required sequence for combining the two kinds of change. They do not say whether the root should be migrated before the intermediates, whether intermediates should move first, or whether the two can happen in parallel. Confirm the order with the relevant standard and with the documentation of the PKI software and the clients you operate. Check which certificates each relying party trusts, how it signals them, and whether it has a configuration path for a new anchor before you decide the sequence. A plan that changes the root must also account for any relying party that still accepts only the old anchor.

Before you plan, list every certificate in each path from end entity to root, and record the signature algorithm and key size of each one. Each certificate in a path adds one signature of its issuer's algorithm, so a post-quantum intermediate or root increases the size of every chain it appears in. RFC 9881 gives an ML-DSA-87 public key of 2592 bytes and a signature of 4627 bytes. Confirm those figures against the specification for the parameter set you use, and measure the chains your clients actually receive. The result will show whether a change at the root or at the intermediate level affects more of your certificates.

Questions people ask about root and intermediate CA migration

Are root CA migration and intermediate CA migration the same work?

No. They touch different parts of the same chain. A root is the self-signed certificate that a relying party is initialized with, while an intermediate is a CA certificate issued by a higher CA and used to sign certificates below it. RFC 5280 Section 3.2 says a relying party is only initialized with a limited number of assured CA public keys, and that self-signed certificates convey the public key used to begin certification paths. Because path validation matches each certificate's issuer name to the subject name of the CA above it, the two levels fail in different ways. Changing an intermediate does not change the trust anchor a relying party holds, and changing a root changes what every relying party must be configured to accept. Confirm the exact trust store behavior for the clients you support before planning either change.

Which CA do relying parties have to trust after the change?

The answer depends on the certificate model in use, and the sources do not give one universal rule. In the X.509 chain model, a relying party starts from a trust anchor, usually a root, and validates a path down through any intermediates to the end-entity certificate. Under draft-ietf-plants-merkle-tree-certs-09, a standalone certificate's trust anchor is identified by a CA ID, and relying parties signal which certificates they accept with the trust_anchors extension, so the trust anchor is configured by CA rather than by a chain of certificates. Under this model, a relying party's trust configuration is what changes, not the intermediate. Check which model your clients implement, and confirm whether each client's trust store can hold a post-quantum root before you rely on it.

Can an ML-DSA intermediate CA sign certificates with its own algorithm?

Yes, according to RFC 9881, which allows keyCertSign and cRLSign in the keyUsage of an ML-DSA certificate. That means an ML-DSA key can be used for CA certificates and CRLs as well as for end entities. RFC 9881 also says ML-DSA keys cannot establish keys or encrypt data, so keyUsage values such as keyEncipherment and keyAgreement must not be set on them. An ML-DSA intermediate therefore signs with ML-DSA, while key exchange is handled separately. Sizes matter for the chain: RFC 9881 gives ML-DSA-87 a 2592-byte public key and a 4627-byte signature, and every certificate in a path adds one signature of the issuer's algorithm. Verify the keyUsage profile your CA vendor issues against RFC 9881 before deployment.

Does the root CA have to change first?

The sources do not establish a required order, and they do not say that a root must change before an intermediate. RFC 9763 says the RelatedCertificate extension should be included only in the end-entity certificate, so linking a new post-quantum end-entity certificate to an older one does not by itself change CA certificates. That suggests an end-entity-level link can be introduced without re-rooting the hierarchy. Whether you change the root first, the intermediate first, or run a parallel hierarchy depends on your trust model and your clients, which the sources do not cover. Plan the order with your CA vendor and test each client's path validation before changing any trust anchor.

What should I ask a CA vendor about root and intermediate migration?

Ask which level they change, and how. Start with these points:

  • Which trust anchor model they issue under, and which clients they expect to validate it
  • Whether post-quantum intermediates are issued with keyUsage that matches RFC 9881 for ML-DSA
  • Whether they plan to issue a new root, re-issue intermediates under an existing root, or run a parallel hierarchy
  • How the RelatedCertificate extension is handled in end-entity certificates, as described in RFC 9763
  • What the certificate and chain sizes are for their chosen algorithms, using the sizes given in RFC 9881 as the reference

Ask for the written procedure, the fallback plan if a relying party rejects the new chain, and the dates they commit to. A vendor's stated plan is the evidence you need, not a general claim about post-quantum readiness.

Does a root migration cost more than an intermediate migration?

The sources do not give a cost figure for either change, so any comparison would be your own estimate. The cost drivers are clear, though. A root change reaches every relying party that holds the old trust anchor, so the work includes updating trust stores across clients, testing path validation, and any re-issuance of subordinate CAs. An intermediate change is usually narrower but still requires re-issuing certificates below it and testing chains. Ask your vendor for the one-time and recurring costs of each option, and ask who pays for client trust store updates. Treat any number you receive as a quote to verify, not as a benchmark.

Can my team do root or intermediate CA migration without outside help?

Many teams can, provided they have the in-house expertise in PKI, certificate profiles and client trust configuration. The sources describe the technical standards but do not prescribe who should perform the work. The main questions are whether your team has tested path validation across all clients you support, whether you have a documented fallback, and whether your audit and compliance evidence will cover the change. DeployOpen can plan, configure and document a self-hosted or private CA environment within a client's infrastructure, and prepare the evidence that compliance teams ask for. It does not issue audit reports or certifications. An independent auditor or certification body performs those. Scope the work in writing before deciding who does what.

How DeployOpen works on this

DeployOpen plans CA migration work as a written, fixed-scope engagement inside the client's own infrastructure. The first step is establishing which certificate authorities sit at the root and which sit as intermediates, and what each one signs, before any change is made to the hierarchy.

How we scope

  • We inventory every root and intermediate CA, its issuer chain, and the relying systems that trust each one.
  • We record which CA certificates are self-signed trust anchors and which are issued by another CA in the path.
  • The written scope states which CAs are in or out, and whether the change is limited to an issuing CA or reaches a root.

How we build

  • We prepare a test hierarchy that mirrors the production chain so issuer name matching can be checked before go-live.
  • We verify key usage settings on any ML-DSA CA certificate, confirming keyCertSign and cRLSign are set and no encryption usages are present.
  • We test chain construction and validation on each relying system, since trust anchors must be configured in each client that trusts them.

How we hand over

  • We deliver a documented hierarchy diagram showing which CA certificates changed and which trust anchors each relying party holds.
  • We provide rollback steps for each CA and each trust store change, so the previous chain can be restored if validation fails.
  • We document which CA certificates are expected to remain in place, so reviewers can confirm the change boundary.

How we support

  • Ongoing support and upgrades are available as a retainer, covering later CA issuance and trust store updates.
  • We can retest chain validation after each new intermediate is issued or a root is rotated.
  • Questions about a specific migration step can be raised against the written scope, so the change boundary stays documented.

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.