Private PKI migration plan: moving an internal CA to a new hierarchy

A phased plan for moving an internal certificate authority to a new server or hierarchy: inventory, backup, CRL timing, restore, trust distribution and retirement of the old CA.

On this page

How do you plan a private PKI migration without breaking issuance?

If you run AD CS or another internal CA, the first decision is whether you are moving an existing CA or building a new hierarchy. Microsoft's guide "Migrate a Certification Authority" covers moving an existing CA to a destination server by backing up, removing the CA role service from the source and restoring on the destination, and it keeps the same CA certificate and private key. An ML-DSA CA cannot be migrated in place, so a post-quantum hierarchy is built in parallel with the one that is running. This section matters to teams that operate an internal CA and to the owners who decide when its roots, intermediates and trust stores change.

For a move of an existing CA, the backup and cutover steps carry the most risk to issuance. Before you start, back up the CA database, the private keys, the CA registry settings, the CAPolicy.inf file and, on enterprise CAs only, the list of CA templates. Record the current CRL publishing period first, because Microsoft notes that clients fetch a new CRL only after the cached one expires. Publish a CRL whose validity lasts at least as long as the migration, and reset the publishing period afterward. Stop the certsvc service on the source so no further certificates are issued, and remove the CA role service from the source before installing it on the destination, since both servers share a common name.

For a new hierarchy, the plan is a parallel build rather than a cutover. Microsoft's ML-DSA CA guide describes a two-tier PKI and recommends a Standalone Root CA that is taken offline after it issues the subordinate CA certificate for production. Your existing CA keeps issuing while the new one is stood up, tested and distributed. Confirm the Setup Type and CA Type on the new servers match the design you intend, and plan how the new roots reach your trust stores. Verify the CRL distribution point and authority information access extensions after any restore, and make sure the former CDP location does not remain in newly issued certificates.

The owner should confirm a few things before scheduling the work: which CAs and templates are in scope, which consumers depend on the current roots, and how long clients will keep trusting the old CRLs during the move. Ask the vendor or your platform team for the exact backup, restore and template commands for your version, since the guide's examples may differ from your environment. Check Microsoft's current documentation before committing to a date.

Which migration path the sources describe and what each one applies to

This table compares the three paths the sources cover: moving an existing CA to new hardware, building a new two-tier hierarchy, and in-place migration to ML-DSA. Read each row for what the path applies to and what it requires, then note the separate CA/Browser Forum rule set at the bottom, which governs public certificates and does not set the schedule for a private PKI.

Migration pathWhat the sources describeWhen it appliesKey constraint or note
Move an existing CABack up the database, private keys, registry settings and CAPolicy.inf, remove the CA role from the source, then restore on the destination with the same CA certificate and key (Microsoft Learn CA migration, updated 2026-05-21)You keep the same CA identity and key and only change the server hosting itRemove the role from the source before installing on the destination, because the shared common name matters; keeping the source as fallback is not recommended
Build a new two-tier hierarchyStand up a Standalone Root CA, take it offline after it issues the subordinate CA certificate for production, then run the subordinate CA (Microsoft Learn ML-DSA CA configuration)You are creating new roots and intermediates rather than moving an existing CATrust must be distributed to clients for the new root; the sources treat this as a new trust anchor, not a continuation of the old one
In-place migration to ML-DSAThe sources say ML-DSA does not support in-place migration of existing CAs (Microsoft Learn ML-DSA overview, updated 2026-05-20)Not supported for an existing CA according to the sourcesBuild a new CA hierarchy in parallel with the existing one, as Microsoft recommends, and confirm current support in Microsoft's documentation before planning
Publicly trusted TLS scheduleVersion 2.3.2 of the CA/Browser Forum Baseline Requirements sets a 200-day, then 100-day, then 47-day maximum for subscriber certificates (CA/B Forum BR 2.3.2)Applies to publicly trusted TLS server certificates onlyThis is a separate rule set from a private PKI's own policy, so private certificate lifetimes are set by your own policy

What a CA move changes for the teams that run it

Moving a CA is mostly a matter of preserving trust while changing where the CA runs. The cards below cover the parts that keep trust intact and the parts teams most often miss, from CRL timing and distribution points to templates and the old server.

Trust anchors stay the same

In a move of an existing CA, the CA certificate and its private key are carried to the destination, so the CA keeps the same identity. Clients that already trust the root or intermediate continue to trust certificates it issues, with no trust store changes. Confirm the key was restored intact and that the CA certificate on the destination matches the source by thumbprint before issuing anything. A move is not a new hierarchy, and it should not be presented as one.

Microsoft CA migration guide

Set CRL timing before the move

Clients fetch a new CRL only after the cached copy expires, so the CRL validity period must cover the whole migration window. Record the current CRL publishing period first, then extend it for the migration, especially on a root CA. By default, validity equals the publishing period plus 10 percent, so a short window can leave clients with stale revocation data. Reset the publishing period after the migration is complete.

Microsoft CA migration guide

Review CDP and AIA after restore

The CRL distribution point and authority information access extensions can still point at the source server after a restore. Review both after the database is restored, and confirm the former CDP location does not appear in the CDP extension of newly issued certificates or in the Freshest CRL extension of CRLs. Stale URLs leave clients unable to check revocation or build a chain. Test issuance on the destination and inspect the output before handing the CA back to users.

Microsoft CA migration guide

Reapply templates on the destination

Certificate templates are not carried by the database restore alone. Record the template list on the source before migrating, then reapply it on the destination so the CA can issue the same certificate types. Compare the list after reapplying it against the recorded one. A CA that starts without its templates will fail requests in ways that look like client problems, so check issuance for each template type that consumers depend on.

Microsoft CA migration guide

Do not keep the old CA as fallback

Some teams keep the CA role on the source server as a quick fallback. Microsoft does not recommend this. If it is done anyway, the source CA service must be disabled and the server shut down before the role is installed on the destination, so two live CAs never hold the same name and key. Decide the rollback approach in advance, and document who can restore from backup if the destination fails.

Microsoft CA migration guide

How the backup, removal and restore sequence works

The migration sequence has three stages that must run in order: back up everything the source CA needs, remove the CA role from the source, then restore on the destination. Microsoft's guide for moving a certification authority keeps the same CA certificate and private key throughout, so the destination becomes the same CA rather than a replacement. Before any backup, record the current CRL publishing period, because Microsoft advises publishing a CRL whose validity lasts at least as long as the migration, and clients only fetch a new CRL after the cached one expires. Then back up the CA database, the private keys, the CA registry settings, the CAPolicy.inf file and, for enterprise CAs only, the list of CA templates. The guide accepts the Certification Authority snap-in, the Backup-CARoleService -Path cmdlet, or the commands certutil -backupdb and certutil -backupkey. Confirm which of these your team will use and test the backup files before proceeding.

Once the backup is complete, stop the certsvc service on the source so that no further certificates are issued while the CA is being moved. Then remove the CA role service from the source before installing it on the destination. Microsoft is explicit about the order here: both CAs share a common name, and removing the role after the destination is set up would delete the AD DS configuration data that the destination CA needs. Some administrators keep the source role in place as a fallback, but Microsoft does not recommend this. If you do, you must disable certsvc and shut down the source server before installing the role on the destination, so plan the fallback position deliberately rather than by default.

On the destination, restore the database with Restore-CARoleService -Path pointing at the parent of the Database folder, using -DatabaseOnly -Force, or with certutil -f -restoredb. Microsoft warns that the restore wizard needs the parent folder, not the Database folder itself. When the CA role installs, choose Use existing private key and select the imported CA certificate, and make sure the Setup Type (Enterprise or Standalone) and CA Type (Root CA or Subordinate CA) match the source. After import, review the registry settings and the CRL distribution point and authority information access extensions, since the former CDP location must not remain in newly issued certificates. Reapply the recorded template list with certutil -setcatemplates. Verify each step against the Microsoft guide for your server version, because the exact menus and options vary between releases.

How the approach differs for a moved CA and for a new hierarchy

When an existing enterprise or standalone CA is moved to a new server, the CA keeps its same certificate and private key, so issued certificates and the trust anchor stay valid. Microsoft's guide covers this path by backing up the CA on the source, removing the CA role service from the source, and restoring the database and key on the destination. Because the identity is unchanged, the work centers on moving data safely and correcting the settings that point to the old server.

  • Back up everything first: the CA database, private keys, CA registry settings, the CAPolicy.inf file and, for enterprise CAs, the list of CA templates.
  • Publish a long-enough CRL: issue a CRL whose validity covers the planned migration window, which matters most for a root CA, and record the publishing period so it can be reset afterward.
  • Remove the role before installing: because both CAs share a common name, the role must be removed from the source before the destination is configured.
  • Review distribution points: after restore, the CRL distribution point and authority information access extensions must be checked so the former location does not appear in new certificates or CRLs.
  • Reapply templates: the recorded template list is reapplied on the destination with certutil -setcatemplates.

Before cutover, confirm the restored CA issues correctly and that the CDP and AIA locations resolve from clients on each network segment.

What to do, in order, for a CA migration

This sequence moves an internal CA to a new server while keeping its certificate and private key, so the CA keeps its identity and chain. Each step produces a record, backup or check that the next step depends on, and the sequence ends with the source CA retired and the destination issuing.

  1. Inventory CAs, templates and consumers

    The PKI owner lists each CA being moved, the certificate templates it issues from, and the systems and services that depend on it for trust or enrollment. Record the CA type (Enterprise or Standalone, Root or Subordinate), the server name and the templates currently published. Confirm this list against the source server's own configuration rather than from memory. The step is complete when the inventory is written down, reviewed by the team that owns each consumer, and stored with the migration record.

  2. Record and extend the CRL validity period

    Before any change, note the current CRL publishing period. Microsoft advises publishing a CRL whose validity lasts at least as long as the planned migration, and this matters most for a root CA. Clients fetch a new CRL only after the cached one expires, so the period must be extended before the source is touched. The default validity equals the publishing period plus 10 percent. The step is complete when a CRL with the extended validity has been published for each CA being migrated and the recorded original period is saved for resetting later.

  3. Back up the database, keys and settings

    Back up everything the migration guide lists: the CA database, the private keys, the CA registry settings, the CAPolicy.inf file and, for enterprise CAs only, the list of CA templates. Use the Certification Authority snap-in, the Backup-CARoleService PowerShell cmdlet, or certutil -backupdb and certutil -backupkey, as the Microsoft guide describes. Store the backups in a protected location and confirm each file exists and is readable. The step is complete when the full backup set is verified and a copy is held outside the source server.

  4. Stop the certificate service on the source

    Stop the certsvc service on the source CA so no further certificates are issued while the migration is underway. Confirm the service is stopped and that no enrollment requests are being processed. Stopping issuance at this point keeps the database backup consistent with the state the destination will restore. The step is complete when the service shows as stopped and the change is logged with a time and the person responsible.

  5. Remove the source CA role

    Remove the CA role service from the source server before installing it on the destination. Both CAs share a common name, and removing the role after the destination is set up deletes the AD DS configuration data the destination needs. Do this only after the backups in the previous step are verified. The step is complete when the role is removed from the source and the removal is recorded.

  6. Restore on the destination and reapply templates

    On the destination, install the CA role and choose Use existing private key, then select the imported CA certificate. Match the Setup Type and CA Type to the source. Restore the database with Restore-CARoleService or certutil -f -restoredb, and select the parent of the Database folder in the restore wizard, not the Database folder itself. Reapply the recorded template list with certutil -setcatemplates. The step is complete when the CA starts, the certificate chain validates and the template list matches the inventory.

  7. Review CDP, AIA and registry values

    After restore, import the exported registry settings and set DBSessionCount to hexadecimal 64. Check the DBDirectory, DBLogDirectory, DBSystemDirectory and DBTempDirectory values. If the server name changed, update CAServerName, CACertFileName and ConfigurationDirectory. Review the CRL distribution point and authority information access extensions so the former CDP location does not remain in newly issued certificates or in the Freshest CRL extension. The step is complete when a test certificate shows the correct extensions and the registry values match the review record.

  8. Decommission or shut down the source

    Microsoft does not recommend keeping the CA role on the source for fallback. If a fallback is kept, disable certsvc and shut down the source before the destination is installed. Once the destination issues correctly, retire the source server according to the organization's decommissioning procedure and reset the CRL publishing period to its recorded value. The step is complete when the source is shut down or removed, the CRL period is reset and the closure is documented.

What drives the effort of a CA move

The effort of moving an internal CA depends less on the move itself than on what is wired to the old CA. Each card below names one factor to size before you schedule the work, and each one changes how much must be backed up, re-pointed, re-issued or tested.

Number of CAs and the root

A move that touches only a subordinate CA is a different job from one that also moves the root. Microsoft's guide keeps the same CA certificate and private key when it migrates a CA, but a root move affects every certificate chained to it and the trust stores that hold it. Before you start, list every CA in the hierarchy and mark whether the root is in scope. Microsoft advises publishing a CRL whose validity covers the whole migration for each CA being migrated, and notes this matters most for a root CA, so a root in scope adds planning work to the schedule.

CA migration guide

Templates and dependent consumers

Every certificate template and every system that requests from the old CA is a dependency the move must account for. Microsoft's guide records the CA template list before migration and reapplies it on the destination, so the list has to be complete. Build an inventory of the templates in use and the consumers that enrol against them, including web servers, VPN gateways, devices and services that trust the CA. Each consumer needs a re-point or re-issue, and the count of these consumers usually sets the bulk of the effort.

CDP and AIA locations to change

CRL distribution point and authority information access locations are embedded in the certificates a CA issues, so a change of server name or path changes what new certificates point to. Microsoft says the CDP and AIA extensions must be reviewed after restore, and that the former CDP location must not remain in newly issued certificates or in the Freshest CRL extension of CRLs. Count each location that publishes a CRL or a CA certificate, and check every one that clients fetch from. Each location you miss is a revocation or chain problem that surfaces later on client systems.

Keeping a fallback source server

Microsoft says some administrators leave the CA role on the source server for a quick fallback, but it does not recommend this. If you keep the source as a fallback, you must disable the certsvc service and shut the source server down before installing the role on the destination, which means the fallback is not live while the new CA runs. Decide early whether a fallback will be kept and for how long, because a retained source adds a second system to back up, monitor and keep out of service. Plan the rollback path in writing before the cutover.

Backup and restore steps

The move depends on a complete backup of the CA database, private keys, CA registry settings, the CAPolicy.inf file and, for enterprise CAs, the template list. Microsoft notes that the CA service must be stopped to prevent further issuance during the backup, which pauses certificate issuance for the duration. Confirm that you can restore each item on the destination server, and check the restore path before the cutover, because a failed restore is hard to recover from under time pressure.

What to record so an auditor can see the move was done

An auditor reviewing a private PKI move will want proof that each step happened in order and that the new hierarchy matches what the plan said it would be. The records to keep are the pre-migration backup inventory, the CRL timing values before and after the change, the restore and template reapplication output, the review of the CDP and AIA extensions, and the decommissioning record for the source server. Keep them together in one change record so the sequence can be followed from start to finish. Microsoft's guide to migrating a Certification Authority lists the items to back up before moving a CA: the CA database, the private keys, the CA registry settings, the CAPolicy.inf file and, for enterprise CAs, the list of CA templates. A dated inventory of those items, with the file paths and the backup method used (the Certification Authority snap-in, Backup-CARoleService -Path, or certutil -backupdb and certutil -backupkey), shows what existed before the move and what could be restored if something went wrong.

The CRL timing values need the most careful recording. Microsoft advises publishing a CRL whose validity lasts at least as long as the planned migration, and that matters most for a root CA. Record the CRL publishing period and the validity period as they stand before the change, because the default validity is the publishing period plus 10 percent and clients only fetch a new CRL once the cached one expires. Record the values again after the migration, when they have been reset. The restore step produces output that should be kept as well: the result of Restore-CARoleService -Path <parent of Database folder> -DatabaseOnly -Force or certutil -f -restoredb, and the output of certutil -setcatemplates showing the template list reapplied on the destination. Alongside these, keep a dated review of the CDP and AIA extensions confirming that the former CDP location does not remain in newly issued certificates or in the Freshest CRL extension of CRLs.

Finally, record the decommissioning of the source server, which is the last thing an auditor will check. If the source CA role was kept for fallback, Microsoft says the certsvc service must be disabled and the server shut down before the role is installed on the destination. Note the date the role was removed, the date the server was powered down or repurposed, and who approved each step. Confirm with your own change process which of these records must be retained and for how long, since that retention period is set by your policy and by the standards your organization follows, not by this guide.

Questions PKI owners ask about moving an internal CA

Does moving an internal CA keep the same CA certificate and private key?

Yes, when you move an existing CA with the Windows Server migration path, the guide keeps the same CA certificate and private key on the destination server. Microsoft's guide describes backing up the database, the private keys, the CA registry settings, the CAPolicy.inf file and, for enterprise CAs only, the CA templates list, then restoring them on the destination. A move to a new hierarchy is different. If you build a new root or intermediate for the new hierarchy, you are issuing a new CA certificate, so every trust store that anchors on the old root has to be updated. Confirm which of the two you are doing before you plan trust distribution, because the answer changes the re-issuance scope.

Does the root CA need a longer CRL validity period during the move?

Microsoft advises publishing a CRL whose validity extends at least as long as the planned migration for each CA being migrated, and notes that this matters most for a root CA. By default the CRL validity period equals the CRL publishing period plus 10 percent. Record the current publishing period before you change anything, extend it for the migration window, and reset it afterward. Clients fetch a new CRL only after the cached one expires, so a short validity can leave clients checking a stale list while the CA is offline. Check the exact setting in your CA's documentation for the version you run before you change it.

Can the source CA server stay running as a fallback during the move?

Microsoft says some administrators leave the CA role on the source server for quick fallback, but the guide does not recommend it. Both CAs share a common name, and removing the CA role from the source after the destination is running deletes the AD DS configuration data the destination CA needs. If you keep the source as a fallback anyway, you must disable the certsvc service and shut the source server down before you install the role on the destination. Plan the fallback as a restore from your backup, not as a second live CA. Treat the backup set as the recovery path and test that restore before the cutover.

Can ML-DSA be migrated onto an existing CA in place?

No. Microsoft states that ML-DSA CAs in AD CS must be newly installed, because ML-DSA does not support in-place migration of existing CAs. Microsoft recommends building a new CA hierarchy in parallel with the existing one. The ML-DSA CA guide builds a two-tier PKI and recommends a Standalone Root CA that is taken offline after it issues the subordinate CA certificate for production. Plan the post-quantum path as a second hierarchy that runs beside the classical one, with a cutover at the point where clients and services accept the new chain. Certificate formats for ML-DSA are defined in RFC 9881, and composite forms are defined in RFC 10073.

Does the 200-day, 100-day and 47-day public certificate schedule apply to a private PKI?

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 sets maximum subscriber certificate validity at 200 days from 2026-03-15, 100 days from 2027-03-15 and 47 days from 2029-03-15, but those limits apply to certificates that public CAs issue. Your private PKI sets its own validity and renewal rules in its certificate policy. Teams often adopt shorter lifetimes internally to match, but that is a design choice for your own policy, not a requirement the Baseline Requirements impose.

What should I ask a vendor before moving an internal CA?

Ask the vendor which versions and editions support the migration path you need, and whether the documented restore procedure keeps the CA certificate, private key and issued-certificate database intact. Ask for the exact CRL and CDP settings they recommend for the migration window, and how to remove the former CDP location from newly issued certificates. Ask what their documentation says about running a fallback, and whether they publish a supported method for post-quantum algorithms on your version. Ask who in your organization must approve key handling, and whether any step requires an HSM. Get each answer in writing with the version it applies to, and confirm it against your own test environment before the cutover.

What does a CA move cost, and what drives the effort?

The sources listed on this page do not give a cost or duration for a CA move, so no figure is stated here. The effort depends on how many CAs you move, how many templates and issued certificates depend on them, how many trust stores must be updated, and whether keys sit on HSMs that need a key ceremony. One-time work includes the hierarchy build, the backup and restore rehearsal, and the trust distribution. Recurring work includes renewals and CRL publication during the new hierarchy's life. Ask any provider for a written scope that lists each CA, each template, each trust store and each test, so the quote can be compared line by line.

What must I check in the CDP and AIA extensions after restoring a CA?

Microsoft says the CRL distribution point and authority information access extensions must be reviewed after the restore. The former CDP location must not remain in the CDP extension of newly issued certificates, and it must not remain in the Freshest CRL extension of CRLs. Check a sample of newly issued certificates after the cutover and confirm that the CDP and AIA point to the new locations. Also check the CA registry settings, including DBDirectory, DBLogDirectory, DBSystemDirectory and DBTempDirectory, and update CAServerName, CACertFileName and ConfigurationDirectory if the server name changed. Confirm each value against the version of your CA's documentation, because setting names can differ between releases.

How the migration sequence moves from source to destination

The sequence starts with an inventory of the source CA and a CRL published with a validity that covers the planned migration, then stops issuance on the source. The CA database, private key and settings are backed up, and the CA role is removed from the source before it is restored on the destination with the same certificate and key. Templates are reapplied, and the CDP and AIA extensions are reviewed so the former location does not persist. The source is decommissioned only after those checks pass.

The ordered steps for moving a CA from source to destination.

How DeployOpen helps plan and run a private PKI move

DeployOpen works through a private PKI migration to a new hierarchy in stages: scoping what the move must cover, building the new hierarchy alongside the old one, and handing over the runbooks and evidence your PKI owners need. Each stage is agreed in writing before work starts, so the scope of the move stays under your control.

How we scope

  • We agree in writing which CAs, roots, templates and consumers the migration covers before any work starts.
  • We record current CRL publishing and validity settings so the planned migration window is set against real values.
  • We confirm which CA roles stay on the source for fallback and which are removed, so the scope states the decommissioning steps.

How we build

  • We build the new hierarchy in parallel with the existing one, keeping the source CA running during testing.
  • We back up the CA database, private keys, registry settings and CAPolicy.inf before any role is moved or removed.
  • We review CRL distribution point and authority information access extensions after restore, so the old location does not persist.

How we hand over

  • We deliver runbooks covering backup, restore, template reapplication and the sequence of steps for each CA.
  • We document trust store distribution and re-issuance steps so consumers of the old roots know what to change.
  • We provide the test results and configuration records your audit and compliance reviewers will ask to see.

How we support

  • Engagements are fixed-scope, and the written scope sets the deliverables and timeline before work begins.
  • Ongoing support after the cutover is available as a retainer, covering upgrades and questions about the new hierarchy.
  • Ask any quote to name what is one-time, what recurs and which items depend on your own environment and its size.

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.