Private PKI migration checklist

A checklist for moving an internal certificate authority, covering inventory, backup, key import, hierarchy build, verification, trust distribution and decommissioning. It draws on Microsoft's dated AD CS migration and ML-DSA guidance.

On this page

What a private PKI migration checklist covers and who needs it

This checklist is for the moment an internal certificate authority has to change: its hardware, its hierarchy or its algorithms. It covers the work that has to happen before, during and after that change, from inventory and backup through key ceremonies, verification, trust distribution and decommissioning. Microsoft's CA migration guidance sets out the items to back up (the CA database, private keys, CA registry settings, CAPolicy.inf and the list of CA templates), and its ML-DSA guidance describes how a post-quantum CA is built, verified and tested. The checklist draws on both and puts them in one sequence. Some steps depend on the platform, so the reader should confirm each command and setting against the documentation for the versions they run.

The public lifetime rules of 200 days, 100 days and 47 days belong to a separate rule set. The CA/Browser Forum Baseline Requirements cover publicly-trusted TLS server certificates, so they do not set the policy for a private PKI. An internal CA sets its own lifetimes, key sizes and validity periods through its certificate policy, and the checklist assumes that policy is written down and approved by the organization that owns it. Teams that issue both public and private certificates should keep the two policies apart so that a change to one does not silently alter the other.

The people who need this checklist are the PKI owners who decide what the hierarchy looks like and sign off on each key ceremony, the platform engineers who run the CA servers, HSMs and directory services and carry out the backup and restore steps, and the budget leads who fund the work and approve the hardware, testing and re-issuance effort. Each group has a different set of checks. PKI owners verify the chain and the policy, engineers confirm that the restored CA issues and publishes revocation data correctly, and budget leads should ask for a quote that lists the hardware, the re-issuance work and the test environment as separate lines.

Before any step starts, confirm two things in the environment. First, whether the destination uses an HSM, because a network HSM requires the key association to be repaired after import. Second, whether the post-quantum algorithms are a pure ML-DSA deployment or a composite certificate, because Microsoft states that ML-DSA does not support in-place migration and that a new CA hierarchy should be built in parallel. Verify ML-DSA certificates with the applications, devices and services in a test environment before anything goes to production.

The Microsoft guidance and standards this checklist turns on

This table lists each document that governs part of a private PKI migration, what it covers and what it leaves to other sources. Use it to find which document answers a given checklist step, and note that the CA/Browser Forum Baseline Requirements apply only to publicly trusted TLS server certificates, not to an internal CA.

DocumentWhat it coversWhat it does not cover
Microsoft Learn CA migration (updated 2026-05-21)Backing up and restoring an AD CS certification authority, moving keys and the CA database, and reassigning templates and CDP and AIA settings on the destination.Client trust distribution, which Microsoft's guide says it does not describe, and any post-quantum algorithm steps.
Microsoft Learn ML-DSA overview (updated 2026-05-20)Why ML-DSA CAs must be newly installed in AD CS, the recommendation to build a parallel hierarchy, and the need to test third-party compatibility first.Step-by-step CA configuration, which is covered in the separate ML-DSA CA configuration guide.
Microsoft Learn ML-DSA CA configuration guide (updated 2026-05-20)Creating a new root key, generating a subordinate request, having the root issue the subordinate certificate, and verifying the chain in certsrv.msc.Whether a given client or device accepts ML-DSA certificates, which must be tested in your own environment.
Microsoft Learn PQC in AD CS overview (updated 2026-05-20)The difference between pure post-quantum certificates using one algorithm and composite certificates requiring both a classical and a post-quantum signature to validate.Step-by-step migration or configuration tasks, which are in the CA migration and ML-DSA guides.
RFC 5280 (May 2008, Proposed Standard)The IETF profile for X.509 v3 certificates and X.509 v2 CRLs, including the certification path validation algorithm.Algorithm-specific encodings for ML-DSA or composite signatures, which are defined in RFC 9881 and RFC 10073.
RFC 9881 (October 2025, Proposed Standard)How ML-DSA from FIPS 204 is used in X.509 certificates and CRLs, for ML-DSA-44, ML-DSA-65 and ML-DSA-87.Composite certificates pairing ML-DSA with classical algorithms, which are defined in RFC 10073, and product support.
RFC 10073 (November 2026, Proposed Standard)Composite ML-DSA for X.509 PKI, pairing ML-DSA with RSASSA-PKCS1-v1_5, RSASSA-PSS, ECDSA, Ed25519 or Ed448.Pure ML-DSA certificates, which are covered by RFC 9881, and whether a specific platform implements composites.
CA/B Forum Baseline Requirements 2.3.2 (3 December 2026)Maximum subscriber certificate validity and validation reuse periods for publicly trusted TLS server certificates, with reductions to 200, 100 and 47 days.Internal private PKI policy. It applies only to publicly trusted TLS server certificates, so an internal CA's lifetimes are set by its own policy.

What the checklist changes for the teams that run the CA

A migration of a private CA is not only a new server build. Six points change how the teams that run the CA plan, back up, time and document the work. Each one is a place where a step that looks routine can break the move or leave trust gaps.

Backup set verified before shutdown

Before the source CA is stopped, the backup must be checked, not just taken. Microsoft lists the CA database, the private keys, the CA registry settings, any CAPolicy.inf file and the CA templates list as items to back up. Confirm that the CAName.p12 file and the Database folder, including certbkxp.dat, the edb#####.log files and CAName.edb, are present and readable, and keep the key password, since installation on the destination needs it. A backup that cannot be restored is the most expensive gap in the plan.

Microsoft CA migration guide

CRL validity outlasts the migration window

Publish a CRL whose validity is at least as long as the planned migration, and record the current publishing period before changing anything. If the source CA's CRL expires while clients still depend on it, revocation checks fail for every certificate it issued. Reset the publishing period after the migration is complete. Confirm the new validity period against the schedule the team has agreed, not against a default.

Templates frozen on the source CA

Record the templates assigned to the source CA with certutil.exe -catemplates, saved to a file, and do not change those assignments until the move is complete. Any template edit made during the migration window will not match the recorded list. The same list is reapplied to the destination with certutil -setcatemplates. Treat the frozen list as the reference for the restore and for the post-migration review.

New CA takes over the old server name

When the destination CA is given the source server name, the sequence matters. The source server is removed from the domain with Remove-ADComputer, and the destination is renamed to the source name before it joins. If the server name changed, the destination needs Full Control on the AIA and CDP containers in AD DS, set with dssite.msc. Check that the CDP and AIA extensions on new certificates point where clients expect, and remove the old CDP from newly issued certificates.

Source CA role kept, not removed

Microsoft's guidance says not to remove the CA role from the source after the destination CA is installed. Keeping the source in place gives the team a way back if the restore or the trust chain fails. Document who decides when the source is finally retired, and what evidence that decision needs. Removing the role early leaves no fallback and makes any defect in the new CA harder to reverse.

Client trust distributed separately

Microsoft's migration guide does not describe how client trust is distributed, so this step needs its own plan. Clients and devices that trust the old root or intermediate must receive the new trust anchors through a channel the team controls, such as Group Policy, MDM or an application trust store. Test each platform's trust store against the new chain before cutover. Confirm this with the vendor documentation for each platform, since the sources listed here do not cover it.

How the migration steps fit together as described by Microsoft

Microsoft's CA migration sequence is built so that nothing leaves the source CA until a complete, verified copy exists on the destination. Backup comes first: the CA database, the private keys, the CA registry settings, any CAPolicy.inf and the CA templates list are all captured before anything is shut down. Templates are recorded with certutil.exe -catemplates > catemplates.txt and the templates assigned to the source CA should not be changed after that point, so the restore step reapplies the same set. Before shutdown, the CRL should be published with a validity period at least as long as the planned migration, and the current publishing period recorded so it can be reset afterward. Shutdown then follows backup: certsvc is stopped, the CA role service is removed from the source, and the destination is renamed to the source name before it joins the domain. Those renaming and domain steps are what let the destination take over the source's identity, so the order matters and cannot be swapped.

Key import sits between shutdown and role install because the role install needs a key to attach to. The .p12 file is imported into the local computer Personal store, and when a network HSM holds the key, certutil -repairstore My "{Serialnumber}" repairs the association with the HSM key. The key password is kept from the backup step because it is required during installation on the destination; without it the imported key cannot be used when the CA role is added. The CAPolicy.inf file, if one exists, must be copied to %windir% before the role install, because the installer reads it during that step. Once the role is installed with Use existing private key and the imported certificate selected, restore follows: the database is restored with Restore-CARoleService -DatabaseOnly -Force or certutil -f -restoredb, the edited registry export is imported, and templates are reapplied with certutil -setcatemplates.

Verification comes last and checks what the earlier steps produced. In certsrv.msc, the CA certificate's Details tab confirms the signature algorithm and public key, and the Certification Path tab confirms the chain. Microsoft also says to verify the CDP and AIA extensions, remove the old CDP from newly issued certificates, and, if the server name changed, grant the destination Full Control on the AIA and CDP containers in AD DS using dssite.msc. Microsoft's migration guide says not to remove the CA role from the source after the destination CA is installed, so the source stays in place as a fallback until verification is complete. Teams should confirm each of these checks against Microsoft's current CA migration documentation for their own Windows Server version before relying on the sequence.

How the checklist differs for a standard move and a post-quantum move

A standard move keeps the same certification hierarchy and reuses the existing CA private keys. The work is mostly about moving the CA role, its database and its configuration to a destination server without changing how certificates chain to a trusted root. The checklist follows Microsoft's CA migration sequence: back up, shut down the source, restore on the destination, then verify.

  • Back up the CA state: Capture the CA database, private keys, CA registry settings, CAPolicy.inf and the list of CA templates before anything is changed.
  • Record the template assignments: Save the output of certutil.exe -catemplates and do not change the templates on the source CA afterwards.
  • Handle the key password: Keep the key password from the backup, because it is needed during installation on the destination.
  • Restore and reapply: Restore the database, import the registry settings and reapply templates on the destination, then confirm the CDP and AIA extensions.
  • Keep the source role in place: Microsoft says not to remove the CA role from the source after the destination CA is installed.

Check that the destination chains to the same root, that issued certificates still validate and that the CRL publishing period has been reset after the move.

What to do, in order, during a private PKI migration

This sequence moves an internal CA to new hardware or a new hierarchy in a controlled order, so every item that must survive the move is recorded, backed up and verified before the source CA is taken offline. Each step closes with a check that tells you it is safe to continue.

  1. Inventory the CA database, keys and settings

    The CA administrator lists everything Microsoft identifies as needing backup before a CA migration: the CA database, the private keys, the CA registry settings, any CAPolicy.inf file and the list of CA templates. Record where each item lives on the source server and who owns it. The step is done when every item on that list has a named location and an owner in your change record, so nothing is discovered for the first time during cutover.

  2. Record assigned templates with certutil

    Run certutil.exe -catemplates > catemplates.txt on the source CA and save the output with the migration records. Freeze the template assignments on the source CA from this point, because Microsoft advises against changing them after the export. The step is done when the file exists, is stored in a location the migration team can reach, and has been checked against the template list from the inventory.

  3. Publish a CRL sized to the migration window

    Publish a certificate revocation list whose validity period is at least as long as the planned migration, so relying parties keep a valid CRL while the CA is offline or changing. Record the current publishing period before you change it, so you can reset it after migration. The step is done when the new CRL is published, its validity end date is recorded, and you have confirmed that clients can fetch it from the published CDP location.

  4. Back up the database and key material

    Back up the CA with certutil -backupdb and certutil -backupkey, or with Backup-CARoleService. Keep the key password, because the destination installation requires it. Verify the backup by confirming that the CAName.p12 file is present and that the Database folder contains certbkxp.dat, the edb#####.log files and CAName.edb. The step is done when those files are present in the backup location, copied off the source server, and the password is stored where the installer can use it.

  5. Stop the source CA and remove its role

    Stop the certsvc service after the backup is verified, then remove the CA role service from the source server. Remove the source computer from the domain with Remove-ADComputer, and rename the destination server to the source name before joining it to the domain. The step is done when certsvc is stopped, the role is removed, and the domain membership change is recorded, with the backup set still intact and tested.

  6. Import the key and repair the HSM association

    On the destination server, import the .p12 file into the local computer Personal store. If the key lives on a network HSM, run certutil -repairstore My "{Serialnumber}" to repair the link between the imported certificate and the HSM key. The step is done when the certificate appears in the Personal store with its private key marked as available, and the repair command completes without error.

  7. Install the CA role on the destination

    Before adding the CA role service, copy any CAPolicy.inf file to %windir% on the destination. Add the role, and when prompted choose the option to use an existing private key, then select the imported certificate. Confirm that the installation completes without changing the CA's identity. The step is done when the role is installed, the CA service starts, and the CA certificate on the destination matches the one from the source.

  8. Restore the database, reapply templates and check CDP and AIA

    Restore the database with Restore-CARoleService -DatabaseOnly -Force or certutil -f -restoredb, then import the edited registry export. Reapply the templates from the record with certutil -setcatemplates. Verify the CDP and AIA extensions on newly issued certificates and remove the old CDP entry. If the server name changed, grant the destination Full Control on the AIA and CDP containers in AD DS using dssite.msc. The step is done when a test certificate issues from the restored CA, its CDP and AIA extensions point to the correct locations, and the template list matches catemplates.txt.

  9. Run the key ceremony for a new hierarchy and verify it

    If the migration builds a new hierarchy instead of moving the existing CA, run the key ceremony in the order Microsoft's ML-DSA guide describes: create a new private key for the root, generate a certificate request on the subordinate and save it to a file if the root is offline, then have the root issue the subordinate certificate. Open the CA certificate in certsrv.msc, check the signature algorithm and public key on the Details tab, and check the chain on the Certification Path tab. The step is done when the chain validates end to end and the algorithm details match the design record. Test ML-DSA certificates with the third-party applications, devices and services you depend on before moving them to production.

How the migration sequence and the new hierarchy relate

The diagram starts with the inventory of the source CA, which produces the backup set: the CA database, private keys, registry settings, CAPolicy.inf and the templates list. The backup then feeds the source shutdown and the destination restore, followed by verification of the CDP and AIA extensions and the CA certificate chain. A separate key ceremony for ML-DSA runs in parallel, because ML-DSA cannot be applied to an existing CA in place and the new hierarchy must be built alongside the current one. Check each hand-off before decommissioning, since Microsoft advises against removing the source CA role after the destination is installed.

Migration phases from inventory to decommissioning, with the ML-DSA key ceremony as a parallel path.

What drives the effort in a private PKI migration

The effort of a private PKI migration depends less on the new hierarchy itself than on what already relies on the old one. The factors below set how much re-issuance, trust distribution and testing the migration must cover, so inventory them before you plan the work.

Templates and issued certificates

The number of certificate templates and the certificates already issued from them sets the re-issuance workload. Record the templates assigned to the source CA with certutil.exe -catemplates > catemplates.txt before the migration, and do not change the assigned templates on the source CA afterwards. Then count the certificates each template has produced and the systems that hold them, so you can estimate how many certificates must be re-issued from the new hierarchy and how long that takes.

Microsoft CA migration

Network HSM involvement

If the CA's private key sits in a network HSM, the migration adds key handling steps that a software-only CA does not need. After you import the .p12 into the local Personal store, a network HSM requires certutil -repairstore My "{Serialnumber}" to repair the association with the HSM key. Confirm early whether the HSM vendor supports the destination server, the key import path and the new key types you plan to use, and check that process with the HSM documentation.

Consumers that must trust the new root

Every client, server, device and application that validates chains to the old root must also trust the new one. The number of such consumers determines how much trust distribution work the migration carries. Microsoft's migration guide does not describe client trust distribution, so plan that step with your own tooling and confirm how each consumer loads its trust store before you cut over.

Systems that cannot take a new algorithm

Some systems will not accept a new signature algorithm, such as ML-DSA, and must stay on the classical chain for now. Count these systems early, because they set how long the old hierarchy must keep running. Validate ML-DSA certificates with third-party applications, devices and services in a test environment before production. Microsoft states that ML-DSA does not support in-place migration of existing CAs, so these systems need a parallel chain rather than an upgrade.

Microsoft ML-DSA overview

Server name changes and AD DS containers

If the destination CA gets a different server name, the CDP and AIA locations in published certificates change. Verify the extensions on newly issued certificates, remove the old CDP from them, and grant the destination Full Control on the AIA and CDP containers in AD DS using dssite.msc. Renaming the destination server to the source name before joining it avoids this work, so decide the naming scheme before the migration starts.

Microsoft CA migration

What to record so an auditor or customer review can see the migration was done

A private PKI migration is only as credible as the records behind it. An auditor or customer reviewer will not accept that a new hierarchy works because the team says so. They will ask for evidence at each step, so the first thing to keep is the pre-migration inventory. Microsoft's CA migration guidance lists what to back up before a move: the CA database, private keys, CA registry settings, CAPolicy.inf and the CA templates list. Keep the inventory alongside those backups, dated and tied to the source server name, so a reviewer can see exactly what existed before anything changed. Record the templates list with certutil.exe -catemplates > catemplates.txt, and note that the templates assigned to the source CA must not change afterwards, since a later edit would make the record stop matching the state the migration started from.

The CRL publishing period and the backup verification are the records reviewers most often miss. Before migration, record the current CRL publishing period, and confirm that the CRL published before the move has a validity at least as long as the planned migration window. Record the reset after migration as well, so the before and after values are both on file. For backups, keep the results of certutil -backupdb and certutil -backupkey or Backup-CARoleService, the location of the key password (it is needed during installation on the destination), and proof that CAName.p12, the Database folder with certbkxp.dat, the edb#####.log files and CAName.edb were checked. An unverified backup is the first thing a reviewer will question.

The last records show the new hierarchy is correct and was tested. Keep the output from checking the CA certificate in certsrv.msc: the Details tab showing the signature algorithm and public key, and the Certification Path tab showing the chain. For post-quantum certificates, Microsoft describes pure and composite certificates differently, and the verification record should state which type was issued. Finally, keep the compatibility test results for every third-party application, device and service validated in a test environment before production, including the failures and how each was resolved. Microsoft's migration guide does not describe trust distribution to clients, so record that step separately with the method your team used. Confirm the exact formats and check steps against the vendor documentation for the versions you run.

Questions people ask about a private PKI migration

Do the 200, 100 and 47 day certificate rules apply to a private CA?

No. The CA/Browser Forum Baseline Requirements cover publicly trusted TLS server certificates, so they are a separate rule set from a private PKI's own policy. The schedule is 200 days from 2026-03-15, 100 days from 2027-03-15 and 47 days from 2029-03-15 for those publicly trusted certificates. A private CA sets its own maximum lifetimes in its certificate policy and templates. Check whether any internal service also relies on a public certificate, because those certificates follow the public schedule. Confirm the current figures in section 1.2.2 of the Baseline Requirements before you set your own policy.

Can ML-DSA be migrated in place on an existing AD CS certification authority?

No. Microsoft states that ML-DSA does not support in-place migration of existing CAs, so an ML-DSA CA must be newly installed. Microsoft recommends building a new CA hierarchy in parallel with the existing one. Plan the new hierarchy, run the key ceremony for it, and verify the CA certificate's signature algorithm and certification path. Then test third-party applications, devices and services with ML-DSA certificates in a test environment before production use.

What should I do with a CAPolicy.inf during a CA migration?

Copy any CAPolicy.inf to the %windir% folder on the destination server before you add the CA role service. Microsoft lists CAPolicy.inf among the items to back up before the migration begins, so include it in your inventory. Then select the option to use the existing private key and the imported certificate during installation. Keep the policy file aligned with the source configuration so the destination CA issues certificates under the same rules.

When should I remove the old CDP from issued certificates?

Remove the old CRL distribution point (CDP) from newly issued certificates after you have verified the extensions on the destination CA. Microsoft's migration guidance lists this step after the restore, and it also says to grant the destination Full Control on the AIA and CDP containers in AD DS if the server name changed. Do not remove a CDP until clients can still reach the revocation information they need. Before you finalize the cutover, confirm the CRL publishing period you recorded, because Microsoft recommends a CRL with validity at least as long as the planned migration.

Should I remove the CA role from the source server once the destination is running?

No. Microsoft's migration guidance says not to remove the CA role from the source after the destination CA is installed. Keep the source in place until you have verified the new CA, the chain, the templates and the revocation path. The source server also holds the backups you made, so retain those alongside it. Remove the source only after your own validation confirms that nothing still depends on it, and document that decision.

How do I distribute trust to clients after a private CA migration?

Microsoft's migration guide does not describe how client trust is distributed, so you will need to plan that step yourself. Identify each client platform, device type and application that relies on the CA's root, then decide how the new root reaches each one. Test the distribution in a non-production environment before you change any production trust store. Confirm that the new chain validates on each platform, because a trust store that is missing the new root will reject certificates the new CA issues.

What should I ask a vendor before starting a private PKI migration?

Ask which parts of the migration the vendor's documentation covers and which parts it leaves to you. Ask how the vendor handles the CA database, private keys and CA registry settings during backup and restore, and whether they support importing a key from an HSM. For post-quantum work, ask whether the product supports ML-DSA certificates and whether it supports composite certificates, which the RFC 10073 draft describes. Ask how they verify compatibility with third-party applications, devices and services before production. Request the answers in writing and tie the scope to a written statement of work.

When to bring in help with a private PKI migration

A scoping call is worth booking when the migration has parts that are hard to test or reverse on your own. The clearest signal is a network HSM holding the CA private keys, because the key import steps in this checklist depend on the HSM association being repaired on the destination, and a mistake there can leave the new CA unable to sign. A second signal is a parallel post-quantum hierarchy that has to be stood up alongside the existing one. Microsoft recommends building a new CA hierarchy in parallel for ML-DSA, since in-place migration of existing CAs is not supported, so the team is running two root and subordinate chains with separate key ceremonies, templates and verification steps. A third signal is a large number of consumers that must trust the new roots and be tested before cutover, including devices and third-party applications that Microsoft advises validating in a test environment before production. A fourth is a need for evidence for an internal or external assessment, where the record of each step matters as much as the step itself.

Before the call, gather the inputs that a scoping conversation will ask for. Start with the inventory from the checklist's backup list: the CA database, private keys, CA registry settings, any CAPolicy.inf file, and the output of certutil.exe -catemplates > catemplates.txt recording the assigned templates. Add a hierarchy diagram showing every root, intermediate and issuing CA, its key location, its validity period and its CRL and AIA publication points, since these decide how trust and revocation will move. Include the HSM details: model, firmware and client versions, partition or slot layout, and which keys are stored there. Note the CRL validity period currently published and the planned migration window, because the checklist treats these as dependencies.

Ask the reader's own platform team to confirm the facts that a scoping call cannot settle for them, such as the exact HSM and CA versions in production and whether any application pins a specific root. Ask the provider to state in writing what is in scope, which deliverables will be produced, and how the test and cutover plan will be verified. Look for any gap the sources do not cover, including client trust distribution, which Microsoft's migration guide does not describe, and plan how that will be handled before the engagement starts.

How DeployOpen helps plan and run a private PKI migration

DeployOpen works through the private PKI migration checklist as a fixed-scope engagement: inventory, hierarchy design, key handling, trust distribution and decommissioning, each agreed in writing before work starts. We document each step so your PKI and security teams can review and own the result.

How we scope

  • We confirm which CAs, templates, issued certificates and consumers the written scope covers before any change is made.
  • We list the source CA items to back up, including the CA database, private keys, registry settings, CAPolicy.inf and the template list.
  • We agree in writing whether the migration includes a new hierarchy, a re-issuance pass, or both, and what sits outside scope.

How we build

  • We record assigned templates with certutil and plan the CRL publishing period so it covers the planned migration window.
  • We run the key ceremony steps for any new hierarchy, including certificate requests, root issuance and verification of the chain.
  • We test trust distribution and certificate compatibility with your applications, devices and services in a test environment first.

How we hand over

  • We document each checklist item, its evidence and the commands or settings used, so your team can repeat or audit the work.
  • We verify the restored database, imported keys, CDP and AIA extensions and reapplied templates against the written checklist.
  • We leave decommissioning of the source CA to your team with a written record of what must stay in place and why.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the migration is complete.
  • We can retest trust distribution and certificate validation when your platforms or client estate change.
  • Quotes follow from the written scope, so ask us to confirm the scope and deliverables before you commit.

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.