AD Certificate Services displays blank error message importing root CA cert

TeresaG 1 Reputation point
2021-06-25T02:12:31.687+00:00

I was attempting to migrate AD certificate services from a WS2008 R2 domain controller; I exported the old AD CS information as described in this article: https://argonsys.com/microsoft-cloud/library/step-by-step-migrating-the-active-directory-certificate-service-from-windows-server-2008-r2-to-2019/

I had to remove ADCS in order to demote the old domain controller.
Then I stood up a new WS2016 server to become the new AD CS server, installing AD CS on it, but when I go to configure the new CA by importing the old certificate/private key, the wizard displays a strange error message having no text!:
109180-adcserror.png

There are also a warning and an error logged in the event log under certificate-services-deployment operational log:

Log Name: Microsoft-Windows-CertificateServices-Deployment/Operational
Source: Microsoft-Windows-CertificateServices-Deployment
Date: 6/24/2021 6:13:14 PM
Event ID: 104
Task Category: Exceptions
Level: Error
Keywords:

Description:
Microsoft.CertificateServices.Deployment.Common.CA.CertificationAuthoritySetupException:
Microsoft.CertificateServices.Deployment.Common.CA.CertificationAuthoritySetupException
at Microsoft.CertificateServices.ServerManager.DeploymentPlugIn.Provider.PowerShellCommandExecutor.Execute(Command command, IPowerShellEngine powerShellEngine, IRehydrator rehydrator)
at Microsoft.CertificateServices.ServerManager.DeploymentPlugIn.Provider.CA.CAPSHProviderContext.Validate()
at Microsoft.CertificateServices.ServerManager.DeploymentPlugIn.Provider.CA.Operations.SetExistingCertificate.Execute(ExistingCertificateParameters parameters)
at Microsoft.CertificateServices.ServerManager.DeploymentPlugIn.DeploymentWizard.CA.ViewModels.ExistingCertificate.ExistingCertificateViewModel.Validate()
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-CertificateServices-Deployment" Guid="{B2D1F576-2E85-4489-B504-1861C40544B3}" />
<EventID>104</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>1</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2021-06-25T01:13:14.655281500Z" />
<EventRecordID>294</EventRecordID>
<Correlation ActivityID="{FB511EAF-6948-0000-0B7E-51FB4869D701}" />
<Execution ProcessID="4464" ThreadID="4036" />
<Channel>Microsoft-Windows-CertificateServices-Deployment/Operational</Channel>

</System>
<EventData>
<Data Name="Prop_UnicodeString">Microsoft.CertificateServices.Deployment.Common.CA.CertificationAuthoritySetupException:
Microsoft.CertificateServices.Deployment.Common.CA.CertificationAuthoritySetupException
at Microsoft.CertificateServices.ServerManager.DeploymentPlugIn.Provider.PowerShellCommandExecutor.Execute(Command command, IPowerShellEngine powerShellEngine, IRehydrator rehydrator)
at Microsoft.CertificateServices.ServerManager.DeploymentPlugIn.Provider.CA.CAPSHProviderContext.Validate()
at Microsoft.CertificateServices.ServerManager.DeploymentPlugIn.Provider.CA.Operations.SetExistingCertificate.Execute(ExistingCertificateParameters parameters)
at Microsoft.CertificateServices.ServerManager.DeploymentPlugIn.DeploymentWizard.CA.ViewModels.ExistingCertificate.ExistingCertificateViewModel.Validate()</Data>
</EventData>
</Event>

Log Name: Microsoft-Windows-CertificateServices-Deployment/Operational
Source: Microsoft-Windows-CertificateServices-Deployment
Date: 6/24/2021 6:13:14 PM
Event ID: 103
Task Category: Deserialization
Level: Warning
Keywords:

Description:
Microsoft.CertificateServices.Deployment.Common.CA.CertificationAuthoritySetupException:
Microsoft.CertificateServices.Deployment.Common.CA.CertificationAuthoritySetupException
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-CertificateServices-Deployment" Guid="{B2D1F576-2E85-4489-B504-1861C40544B3}" />
<EventID>103</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>2</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2021-06-25T01:13:14.655094600Z" />
<EventRecordID>293</EventRecordID>
<Correlation ActivityID="{FB511EAF-6948-0000-0B7E-51FB4869D701}" />
<Execution ProcessID="4464" ThreadID="4036" />
<Channel>Microsoft-Windows-CertificateServices-Deployment/Operational</Channel>

</System>
<EventData>
<Data Name="Prop_UnicodeString">Microsoft.CertificateServices.Deployment.Common.CA.CertificationAuthoritySetupException:
Microsoft.CertificateServices.Deployment.Common.CA.CertificationAuthoritySetupException</Data>
</EventData>
</Event>

Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-06-25T06:18:22.937+00:00

    Hi,
    Would you please tell did you assign the same CA name as before?
    Before you install the ca service on the new server, did you remove the old one from the domain?

    For the CA migration, you can refer to the following link:
    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn486805(v=ws.11)

    Best Regards,


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.