Assessing your private PKI before a migration

Before you move an internal certificate authority, you need a per-CA inventory of templates, backups, keys, publishing locations and consumers. This page shows what to map and what the sources list as requirements for post-quantum templates.

On this page

What a private PKI assessment must cover before a migration

If you are about to move an internal certificate authority, the assessment decides what the migration has to include. It maps each CA, its certificate templates, its private keys, the locations where it publishes revocation and issuer data, and every system that consumes certificates it issued. With that map in hand, the migration scope is known before any new hierarchy is built. The assessment is owned by PKI administrators and the platform teams that run AD CS or a similar product, and it should be completed per CA, because each one may hold a different mix of these items.

For each CA, record the items Microsoft's backup scope names: the CA database, the private keys, registry settings, the CAPolicy.inf file in %SystemRoot% (usually C:\Windows), and the templates list. Templates need separate attention. Microsoft says the CA database and registry backups do not include certificate templates, because templates and their assignment to enterprise CAs are stored in AD DS. You can list the templates assigned to an enterprise CA in the Certification Authority snap-in or with certutil.exe -catemplates > catemplates.txt. An empty result returns error 0x80070490 (Element not found). Microsoft says a standalone CA has no certificate templates, so the template inventory applies only to enterprise CAs. Also record which keys sit in a hardware security module, since Microsoft says those must be backed up under the HSM vendor's procedures.

Publishing locations and access need the same per-CA review. Microsoft notes that CDP and AIA extensions are often customized for each network, and that the default AD location is an LDAP URL naming the source server's NetBIOS name, so confirm the configured locations on every CA rather than assuming defaults. Record who holds CA administrator rights. On an enterprise CA the defaults are the local Administrators, Enterprise Admins and Domain Admins groups, and on a standalone CA the local Administrators group. Then list the consumers of issued certificates, since those systems will be the ones that need re-issuance or new trust.

Keep the regulatory boundary clear. The CA/Browser Forum Baseline Requirements govern publicly trusted TLS server certificates, a separate rule set from a private PKI's own certificate policy. Your internal CA's lifetimes and policy are set by your own documents, so note them as local requirements. If you plan to move to ML-DSA, check the template requirements early: Microsoft says ML-DSA leaf templates need a CNG Key Storage Provider, and that ML-DSA does not support in-place migration of existing CAs, so the new hierarchy will be built alongside the old one. Confirm the minimum platform versions and third-party compatibility in a test environment before production.

Which inventory items the sources name and what each one covers

This table lists the items the Microsoft CA migration guidance names for each enterprise or standalone CA, plus the ML-DSA template and platform requirements from Microsoft's ML-DSA overview. Read each row as a question to answer for every CA you inventory, since defaults and customizations differ per network. The main takeaway is that templates live in Active Directory, so a CA database backup alone does not capture them.

Inventory itemWhat the source saysWhere to confirm
CA databasePart of Microsoft's per-CA backup scope, with registry settings and private keys (Microsoft Learn CA migration)Backup procedure in the Microsoft CA migration documentation
Private keysPart of the backup scope; HSM-held keys must be backed up under the HSM vendor's procedures (Microsoft Learn CA migration)HSM vendor documentation for any HSM-held keys
Registry settingsPart of the backup scope for each CA (Microsoft Learn CA migration)Microsoft CA migration documentation for the keys to capture
CAPolicy.infLocated in %SystemRoot% (usually C:\Windows) and included in the backup scope (Microsoft Learn CA migration)Presence and contents on each CA server
Certificate templates listStored in AD DS, not in the CA database or registry backups; list with the Certification Authority snap-in or certutil.exe -catemplates (Microsoft Learn CA migration)Enterprise CAs only; standalone CAs have no templates
CDP and AIA settingsOften customized per network; the default AD location is an LDAP URL naming the source server's NetBIOS name (Microsoft Learn CA migration)Each CA's configured locations and publishing options
HSM-held keysMust be backed up under the HSM vendor's procedures, so they belong in the inventory (Microsoft Learn CA migration)HSM vendor procedures for each key store
Administrator groupsEnterprise CAs default to local Administrators, Enterprise Admins and Domain Admins; standalone CAs to local Administrators (Microsoft Learn CA migration)Group membership on each CA as currently configured
ML-DSA template requirementsNeeds a CNG Key Storage Provider, compatibility set to Windows Server 2008 or later, Purpose set to Signature, no EFS or Secure E-mail policy, and no Key Encipherment or Key Agreement usage (Microsoft Learn ML-DSA overview)Template settings for any template intended for ML-DSA leaf certificates
Minimum platforms for ML-DSAWindows Server 2025 with KB5087539 on AD CS servers; Windows 11 24H2 or 25H2 with KB5067036 on clients (Microsoft Learn ML-DSA overview)Patch level on each AD CS server and client before testing

What the inventory changes for the teams that run each CA

A private PKI is run by several teams, and each CA carries its own state. The cards below name the items that a CA backup does not capture, the settings that differ between enterprise and standalone CAs, and the key and algorithm constraints that shape the move, so each owning team can check its part before a migration starts.

Capture templates separately from the CA backup

A CA backup covers the database, private keys, registry settings, CAPolicy.inf and a templates list, but the certificate templates themselves are stored in AD DS, not in the CA database. Microsoft states that these backups do not include the templates. Teams should export the list of templates assigned to each enterprise CA with certutil.exe -catemplates > catemplates.txt or the Certification Authority snap-in, and record the template settings in AD DS as a separate item. An empty result returns error 0x80070490 (Element not found), which should be checked before the list is treated as complete.

CA migration docs

Standalone CAs have no templates

Microsoft states that a standalone CA has no certificate templates, so the template inventory applies only to enterprise CAs. For standalone CAs, the inventory should focus on the CA's backup scope, its CAPolicy.inf file and the issued certificates it has signed. Teams that run both kinds should keep the two inventories separate so a standalone CA is not recorded as having a template list it does not have.

CA migration docs

Review default CA administrator groups

On an enterprise CA, the default CA administrators are the local Administrators, Enterprise Admins and Domain Admins groups. On a standalone CA, they are the local Administrators group. Those memberships should be listed for each CA, checked against the people who are meant to hold CA administration rights, and confirmed before a new hierarchy is set up, because the new CAs will start with their own administrator sets.

CA migration docs

Check CDP and AIA locations per CA

CRL Distribution Point (CDP) and Authority Information Access (AIA) locations are often customized for each network, so each CA's configured locations and publishing options must be reviewed one CA at a time. The default AD location is an LDAP URL that names the source server's NetBIOS name, which can point to the old server after a move. Each location should be recorded and tested against the network paths that clients use, so that revocation and chain building keep working for the certificates issued by the new hierarchy.

CA migration docs

Follow the HSM vendor's backup procedure

When a CA's keys are held in a hardware security module, Microsoft says they must be backed up by the HSM vendor's procedures rather than the CA backup. HSM-held keys therefore belong in the inventory as a separate item, with the HSM model, the partition or key names and the vendor backup steps recorded. The team that manages the HSM should confirm that the backup can be restored before the old CA is retired.

CA migration docs

Build a new hierarchy for ML-DSA

Microsoft states that ML-DSA does not support in-place migration of existing CAs, so ML-DSA CAs in AD CS must be newly installed. Microsoft recommends building a new CA hierarchy in parallel with the existing one. Teams should confirm that their templates use a Cryptography Next Generation (CNG) Key Storage Provider, since legacy Cryptographic Service Providers are not supported for ML-DSA leaf templates, and should test third-party applications and devices for ML-DSA support in a test environment first.

ML-DSA overview

How to list templates and enterprise CAs with the sources' commands

Before you plan a migration, you need a complete list of the certificate templates each enterprise CA issues from. Microsoft's CA migration guidance gives two ways to get that list. The first is the Certification Authority snap-in, which shows the templates assigned to a given enterprise CA. The second is the command-line tool certutil.exe. Running certutil.exe -catemplates > catemplates.txt writes the template list for the CA to a text file, which gives you a record you can keep with your per-CA inventory and compare against later. Use the snap-in when you want to check a single CA by hand, and the command when you want a file you can store and review.

Read the result with care. If a CA has no templates assigned, the command returns error 0x80070490 (Element not found). That error does not necessarily mean something is broken. It means the CA has no templates to report, so you should record that CA as having an empty template list and confirm the reason. Also note that a standalone CA has no certificate templates at all. Microsoft says the template inventory applies only to enterprise CAs, so standalone CAs should be listed in your inventory as a separate category with no template entries.

Because Microsoft notes that template assignments are stored in AD DS and are not part of the CA database or registry backups, the output of these commands is one of the few places where the template-to-CA relationship is recorded explicitly. Keep the text file with the rest of the CA's inventory, and confirm the results against your directory before you rely on them in a migration plan. Check the exact syntax and any options for your Windows Server version in Microsoft's documentation, since this section covers only the two methods and their output.

How the assessment differs for enterprise CAs, standalone CAs and HSM-backed CAs

An enterprise CA is integrated with Active Directory Domain Services, and its certificate templates and their association with the CA are stored in AD DS rather than in the CA's own database. The assessment for this type therefore has to capture the template list separately, because a standard CA backup does not include it. You can list the templates assigned to the CA in the Certification Authority snap-in, or run certutil.exe -catemplates > catemplates.txt and keep the output with the inventory. If that command returns error 0x80070490 (Element not found), confirm the template assignment before you rely on the result.

  • Template listing: Record every template the CA issues from, including the purpose and key settings of each, since this list drives the post-quantum template review.
  • Default admin groups: Note that the default CA administrators are the local Administrators, Enterprise Admins and Domain Admins groups, and record who is actually a member of each.
  • Directory publishing: Review the CDP and AIA locations, which often vary by network, and check the default AD location, which is an LDAP URL that names the source server's NetBIOS name.
  • Keys and backups: Include the CA database, private keys, registry settings, CAPolicy.inf and the template list in the per-CA backup scope.

Before moving on, confirm that the template list, CDP and AIA settings and administrator membership are each written down for every enterprise CA.

What to do, in order, to assess each private CA

This sequence gives you a complete inventory of every internal CA, its backups, its publishing locations, its keys and its consumers before you plan a move. Each step closes with a record that the next step depends on, so the migration starts from known facts.

  1. List every CA and its type

    Identify each certification authority in the estate, including roots, intermediates and issuing CAs, and record whether each one is enterprise or standalone. Enterprise CAs are integrated with Active Directory Domain Services and can use certificate templates, while standalone CAs have no templates, so this distinction decides which later steps apply. Produce one inventory record per CA with its name, role in the hierarchy, host server and type. The step is done when every CA in the hierarchy has a record and no host is left unexamined.

  2. Capture backups of database, keys and settings

    For each CA, confirm that a current backup exists covering the CA database, private keys, registry settings and the CAPolicy.inf file, which is normally in %SystemRoot%, usually C:\Windows. Note that certificate templates are not included in the CA database or registry backup, so they need their own capture in a later step. Record the backup location, date and the account used to create it in the CA's inventory record. The step is done when each CA has a verified backup set that someone other than the author has checked the contents of.

  3. List enterprise certificate templates

    For each enterprise CA, list the templates it issues from, using the Certification Authority snap-in or the certutil.exe -catemplates command redirected to a file. An empty result returns error 0x80070490 (Element not found), which means the CA has no assigned templates and should be confirmed rather than assumed. Templates are stored in Active Directory Domain Services, so record each template's name, purpose and key settings alongside the CA it is assigned to. Standalone CAs are skipped at this step. The step is done when every enterprise CA has a template list saved with its inventory record.

  4. Record CDP and AIA locations per CA

    Review the CRL Distribution Point and Authority Information Access extensions configured on each CA, because these are often customized per network. Record every configured location, including any default Active Directory LDAP URL, which names the source server's NetBIOS name, along with the publishing options set for each. Check that each location still resolves and is reachable from the networks that rely on it. The step is done when each CA's CDP and AIA locations are listed in its record and each one has been confirmed reachable or flagged for correction.

  5. Record HSM-held keys and vendor backup procedure

    Determine whether each CA's private keys are held in a hardware security module, and if so, record the HSM model, the key labels or identifiers and the vendor's backup procedure. Microsoft notes that HSM-held keys must be backed up by the HSM vendor's procedures rather than by the CA backup alone, so this dependency belongs in the inventory. Confirm who holds the HSM credentials and whether the vendor backup has been tested. The step is done when every CA with an HSM is marked in its record with the vendor procedure reference and the named custodian.

  6. Map the administrator groups for each CA

    Identify the default CA administrators for each CA, which on an enterprise CA are the local Administrators, Enterprise Admins and Domain Admins groups and on a standalone CA is the local Administrators group. Then compare these defaults with the groups actually assigned, since changes are common in long-running estates. Record each group's membership owner and whether it has been reviewed recently. The step is done when every CA has a list of effective administrators saved in its record and any unexpected membership has been raised for review.

  7. Map consumers of each CA's certificates

    For each CA, identify the systems, applications, devices and services that depend on certificates it issues or trusts, including web servers, VPNs, network devices, and any clients that check its CRLs or AIA. Record the consumer, the certificate type it uses and the owning team, and note whether that consumer is known to support the algorithms and certificate formats you will need to plan for. Test compatibility in a non-production environment before relying on any consumer's claim of support. The step is done when each CA has a consumer list tied to owners, which becomes the scope for re-issuance and trust-distribution work.

What drives the effort of the assessment

The effort of the assessment depends less on how many certificates exist and more on how many authorities, templates, distribution settings and consumers a migration must account for. Each card below is a part of the estate that the inventory has to map before any new hierarchy is designed.

Number of CAs and hierarchy depth

Every certificate authority in the hierarchy needs its own inventory record, covering its role, its parent and its signing keys. Depth matters because each intermediate CA adds a level to the path that clients validate. Confirm which CAs are enterprise and which are standalone, since templates only apply to enterprise CAs. Record each CA's backup scope, including the database, private keys, registry settings, CAPolicy.inf and the templates list.

CA migration docs

Enterprise certificate templates

Templates live in Active Directory Domain Services, not in the CA database or registry backups, so they must be exported separately. List the templates assigned to each enterprise CA with the Certification Authority snap-in or certutil.exe -catemplates. An empty result returns error 0x80070490 (Element not found), which should be treated as a finding to investigate rather than a clean inventory. Note which templates use legacy providers, because those cannot carry ML-DSA leaf certificates.

CA migration docs

Customized CDP and AIA settings

CRL Distribution Point and Authority Information Access extensions are often customized per network, so the configured locations and publishing options must be reviewed for each CA. The default Active Directory location is an LDAP URL that names the source server's NetBIOS name, which will break once that server is retired. Map which networks reach each URL, because a new hierarchy that publishes to different locations can leave clients unable to fetch revocation data.

CA migration docs

HSM-held keys and vendor procedures

Where a CA's private keys sit in a hardware security module, backup and transfer follow the HSM vendor's procedures rather than the standard CA backup. Each HSM-held key belongs in the inventory with its module, partition, and the procedure that governs it. Confirm the vendor's documented steps and who holds the required credentials before planning any key movement, since a key that cannot be exported shapes the whole migration sequence.

Consumers with unknown trust or compatibility

Applications, devices and services that trust the private PKI may not be documented, and some will not accept newer certificate types. Microsoft warns that not all third-party applications, devices or services recognize ML-DSA certificates, so each consumer's compatibility should be confirmed in a test environment before production. List every consumer that anchors trust to the current roots, and record which ones cannot be updated or replaced without vendor action.

ML-DSA overview

How the assessment flows from CA inventory to consumer mapping

The assessment starts by listing every certificate authority in the private PKI and classifying each one as enterprise or standalone, since only enterprise CAs have templates to inventory. For each CA, record the backups (database, private keys, registry settings, CAPolicy.inf and the templates list), review the CDP and AIA extension locations because they are often customized per network, and note any keys held in an HSM, which must be backed up under the vendor's procedures. Those inventories feed consumer mapping, and the combined result defines the migration scope. Check that each template list and HSM record is complete before moving on, because the CA backups do not capture templates.

Assessment steps from CA listing through to the migration scope.

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

The assessment is only as useful as the records that show it was done. Keep a dated inventory for each certification authority in the private PKI, covering its role (enterprise or standalone), its configured CDP and AIA values, the templates it publishes, and the date the inventory was taken. A reviewer should be able to pick any CA in the inventory and trace from it to the template list, the backup set and the consumers that depend on it. Because Microsoft's CA backup scope does not include certificate templates, which are stored in AD DS, the template list has to be recorded separately. Save the output of certutil.exe -catemplates > catemplates.txt with the CA name and date, and note that a standalone CA has no templates, so its entry should say so instead of being left blank. An empty result returns error 0x80070490 (Element not found), which should be recorded as a finding to explain, not as a missing file.

For each CA, keep the backup set that Microsoft lists as in scope: the database, private keys, registry settings, CAPolicy.inf from %SystemRoot% (usually C:\Windows) and the templates list. Record where each backup is stored and when it was made. For CAs whose keys sit in a hardware security module, record the HSM key records and the vendor procedure used to back them up, since Microsoft says those keys must be backed up under the vendor's procedures. Also record the membership of the CA administrator groups: local Administrators, Enterprise Admins and Domain Admins for an enterprise CA, and local Administrators for a standalone CA. Confirm these with the current membership at the time of the assessment, not from the defaults.

Finally, keep a consumer map that links each CA and template to the systems, applications, devices and services that depend on the certificates it issues. This map is the record most likely to show a reviewer whether the migration scope is complete. Note any consumer that does not accept ML-DSA certificates, since Microsoft warns that not all third-party applications, devices or services recognize them and says to test compatibility before production. Together with the inventory, backup set, CDP and AIA values, HSM records and administrator membership, the consumer map lets an auditor trace what the migration must cover. These records show the assessment was performed. They do not certify the PKI or the migration.

Questions teams ask before a private PKI migration

Does the 200-day, 100-day or 47-day certificate limit apply to my private CA?

No. The CA/Browser Forum Baseline Requirements govern publicly trusted TLS server certificates, not certificates issued by a private CA. The version 2.3.2 Baseline Requirements set maximum subscriber validity to 200 days from 2026-03-15, 100 days from 2027-03-15 and 47 days from 2029-03-15, but those rules apply to public certificates. A private PKI sets its own lifetime policy in its certificate policy and certification practice statement, so confirm your internal requirements with your security or PKI policy owner. Check the Baseline Requirements text directly at the source before relying on these dates in any document.

Why are my certificate templates missing from the CA backup?

Templates are not stored in the CA database or registry backup. Microsoft states that certificate templates and their association with enterprise CAs live in Active Directory Domain Services (AD DS), so a CA restore or migration does not carry them. Include AD DS in your backup plan and record each enterprise CA's template list separately. Standalone CAs have no templates, so this inventory applies only to enterprise CAs.

Can ML-DSA be applied in place on an existing CA?

No. Microsoft states that ML-DSA does not support in-place migration of existing AD CS certification authorities, so ML-DSA CAs must be newly installed. Microsoft recommends building a new CA hierarchy in parallel with the existing one. Plan the new hierarchy, its key generation and its trust distribution as separate work from the current environment, and confirm the current guidance in Microsoft's ML-DSA overview before scheduling changes.

What should I validate before moving private certificates into production?

Validate compatibility in a test environment, because Microsoft warns that not all third-party applications, devices or services recognize ML-DSA certificates. Check the following before production:

  • Every client, application and device that consumes the certificates, including those outside Windows.
  • Template requirements: Microsoft requires a Cryptography Next Generation (CNG) Key Storage Provider, Signature purpose, and compatibility set to Windows Server 2008 or later, with no Encrypting File System or Secure E-mail application policy and no Key Encipherment or Key Agreement key usage.
  • Minimum platform versions: Windows Server 2025 with update KB5087539 for AD CS servers, and Windows 11 24H2 or 25H2 with update KB5067036 for clients.
  • Enrollment paths, since NDES enrollment is not currently available for ML-DSA certificates.
What do I need to list the templates assigned to a CA?

Use the Certification Authority snap-in or run certutil.exe -catemplates > catemplates.txt on the CA. Microsoft notes that an empty result returns error 0x80070490 (Element not found), which usually means the CA has no templates assigned, so confirm the CA type first. Only enterprise CAs have templates. Run the command with an account that holds the CA administration rights, which by default are the local Administrators, Enterprise Admins and Domain Admins groups on an enterprise CA, and record the output alongside each CA's other inventory data.

What belongs in the per-CA inventory besides templates?

Microsoft's backup scope for a CA covers the database, private keys, registry settings, CAPolicy.inf and the templates list, which makes a useful starting checklist. Add the following for each CA:

  • CDP and AIA extension locations, since these are often customized per network and the default AD location is an LDAP URL naming the source server's NetBIOS name.
  • CAPolicy.inf, located in %SystemRoot%, usually C:\Windows.
  • Keys held in a hardware security module, which must be backed up under the HSM vendor's procedures and need their own entry.
  • Administrator groups and who holds them.
Do I need post-quantum certificates now, and which format should I plan for?

The sources in this topic describe formats and platform steps rather than a deadline for private PKI. RFC 9881 defines how ML-DSA is used in X.509 certificates, and RFC 10073 defines composite ML-DSA, which pairs ML-DSA with a classical signature. Microsoft describes a pure post-quantum certificate as using a single post-quantum algorithm, and a composite certificate as one where both the classical and post-quantum signatures must validate. Decide with your security owners which format your consumers support, and confirm current standards status in the IETF documents before planning.

How DeployOpen supports a private PKI assessment

DeployOpen approaches an assessment of a private PKI as a fixed-scope engagement with a written scope agreed before work starts. The work maps each certificate authority, its templates, issued certificates and consumers, so the migration plan covers what actually exists in your environment.

How we scope

  • Agree in writing which CAs, enterprise and standalone, fall inside the assessment before any inventory begins.
  • Confirm which CA backup scope items are in scope, including the database, private keys, registry settings, CAPolicy.inf and templates list.
  • Identify HSM-held keys early, since their backup follows the HSM vendor's own procedures and needs a named owner.

How we build

  • Build a per-CA inventory covering templates, CDP and AIA locations, administrators and publishing options for each authority.
  • Test whether templates in use can support ML-DSA, checking CNG key storage providers, compatibility settings and key usage restrictions.
  • Document consumers that rely on each CA, and flag third-party applications or devices that may not recognize newer certificate types.

How we hand over

  • Deliver the inventory as a written record, listing each CA, its templates, its locations and its dependent systems.
  • Record the gaps found during the assessment, such as customized CDP or AIA settings, so the migration plan can address them.
  • Provide a sequencing input for the migration, marking which consumers need re-issuance and which need trust store updates first.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the assessment closes.
  • Support can extend to validating compatibility of ML-DSA certificates in a test environment before any production change.
  • Confirm with your team the product versions and platform builds in use, since the minimum platforms for ML-DSA are version-specific.

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.