Solved

Unable to Start AD CA Certification Service

Posted on 2016-09-09
8
43 Views
Last Modified: 2016-10-01
Active Directory Certificate Authority Root

When I attempt to start the certificate service, I get the error:
The system cannot find the file specified. 0x2 (WIN32: 2 ERROR_FILE_NOT_FOUND)

The policy module for a CA is missing or incorrectly registered. To view or change the policy module settings, right-click on the CA, click Properties, and then click on the Policy Module tab.
So I click on Properties and the “Policy Module tab”. I click on “Select”, which brings up “Set Active Policy Module”. The only option to select is “Windows Default” which is already selected. I click OK and try  to start the Certification Service and receive same error.

I checked the registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration\CA Name\PolicyModules
That has a string value named “Active” with a value of CertificateAuthority_MicrosoftDefault.Policy

Just to make sure I reregistered the certpdef.dll but that didn’t change anything.

The Event Viewer says:
Active Directory Certificate Services did not start: Could not load or verify the current CA certificate.  (Name of our certificate authority) The system cannot find the file specified. 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND).

Background:
Our certificate server is a 2012R2 member server. I migrated the certificate services from a 2003 member server which is being deactivated.

The local group: “Certificate Service DCOM Access” membership is Authenicated Users

The AD group: “Certificate Service DCOM Access” membership is Authenicated Users, Domain Users, and Domain Computers.

The Enterprise group “Cert Publishers” sole member is our certificate server.

In Active Directory Sites and Services/Services/Public Key Services
AIA Contains the certificationAuthority object for our root CA and the certificate server has full permissions.
CDP
Contains the Name of our Certification Server which contains cRLDistributionPoint object with the name of our Certification Authority and our certificate server has full permissions.

Does anyone have an idea about how to fix this?
0
Comment
Question by:batesit
  • 5
  • 3
8 Comments
 
LVL 16

Expert Comment

by:Learnctx
Comment Utility
Check that you have actually finished the CA setup in server manager. In server manager go to the AD CS section or check the notification flag at the top right. Does it give a notification to complete the configuration of AD CS?
0
 
LVL 1

Author Comment

by:batesit
Comment Utility
Learnctx,

Thanks for that. Good thinking, and at first that’s what I thought it was too. Unfortunately, after completing the configuration, the service still would not start. I do appreciate your help though.
0
 
LVL 16

Expert Comment

by:Learnctx
Comment Utility
OK, I'm assuming when you migrated the CA over you took a registry backup of the settings? Do all the paths in the registry backup from the old server exist on the new server?
0
 
LVL 1

Author Comment

by:batesit
Comment Utility
Learnctx, Thanks for your help. Yes I did migrate the CA over from our old CA and I imported the registery Key from the old server. However, I'm not sure what paths I should be looking for. I would assume that when I imported the registry key, everything would go along with it. Is there something specific I should be looking for?
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 16

Expert Comment

by:Learnctx
Comment Utility
As part of the migration you would backup the previous CA registry settings (see here). So when you do the import process of these settings here, you want to check the paths, any of them but mostly the paths in step 4 for DBDirectory, DBLogDirectory, DBSystemDirectory, DBTempDirectory, ConfigurationDirectory.
0
 
LVL 1

Author Comment

by:batesit
Comment Utility
Learnctx, Thanks for your help. So I checked the registry. The first four paths that you mentioned: DBDirectory, DBLogDirectory, DBSystemDirectory, DBTempDirectory, match the default paths that I chose when I installed certificate services on this server. I checked the directory, and I can identify the the Database file, the Database Log files, and the Database Temp file(s). I am not sure what the Database "System" file is, if it is different than the Database itself. What would the file extension be for the "DBSystem"? This could be the problem. I did check the CACertPublicationURLs and  CRLPublicationURLs and those paths are correct.
0
 
LVL 1

Accepted Solution

by:
batesit earned 0 total points
Comment Utility
I ended up submitting a support ticket with Microsoft. As I expected the Tech that I was working with figured it out in no time. Initially she spent about an hour on it. The things she was clicking on made me wonder if she knew what she was doing, but suddenly she was in the registry making a change. She went to registry HKEY_LOCAL_MACHINE\Software\Microsoft\SystemCertificates\ certhash, and replaced all the stale certificate entries with “-“ and kept only the valid two certificate hashes. After that the Certificate Service was able to start, however, I then realized that devices could not connect to our secure wireless network which is what we mainly use certificates for. Also there were errors on the Certificate Server. The Tech worked for a couple more hours to fix those errors, and we continuted into the next day. When she finished up everything was working. In the dozens of articles I read on Moving the Certificate Authority and troubleshooting the problem I was having, I came across no articles which lead me the the "Certhash" key and the other things she fixed. I would have never figured all that out on my own. So it was worth the $495 bucks we paid Microsoft.
0
 
LVL 1

Author Closing Comment

by:batesit
Comment Utility
The solution was, Microsoft Tech Support found the problem and fixed the issues we were having.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now