Windows 2008 R2 CA cert request error

When requesting a computer cert from my Windows 2008 R2 CA, the certificate enrollment wizard on my Windows 7 machine issues this error message:

Failed to install one of more certificates.

One or more of the certificate requests that you submitted could not be completed.  Review the information that appears below each certificate for information on how to proceed.

Computer   X Status: Failed
The RPC server is unavailable.


User certificates are issued without problems.
All systems mentioned are in the same domain
My CA is a member of the Cert Publishers domain global group

What's the problem here?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tballinAuthor Commented:
Here's an error from the requesting client:

Log Name:      Application
Source:        Microsoft-Windows-CertificateServicesClient-CertEnroll
Date:          12/29/2011 10:44:27 AM
Event ID:      13
Task Category: None
Level:         Error
Keywords:      Classic
User:          123\jdoe
Certificate enrollment for Local system failed to enroll for a Machine certificate with request ID N/A from\hq-abc_V5-CA (The RPC server is unavailable. 0x800706ba (WIN32: 1722)).
On the CA-Server:
Can you please check if the
a) Authenticated users
b) interactive and domain users  were missing from builtin\users group.

If yes, can you please Add
a) Authenticated users
b) interactive and domain users to builtin\users group.

after the above activity you need to restart the CA Service
Have you tested this from multiple computers?

Have you double-checked your server and client since the problem started to make sure the firewall hasn't been reactivated by a change in OU location, GPO or antivirus installation?

Can you verify that DNS properly resolves from that client, and there are no hosts file entries for that server?

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

You issue is that you can not request certs for computers from a 2008 R2 CA.  You need to install the Web Enrollment services if you want to be able to do this.  With that said, AutoEnrollment of computer certs will work fine.  But if you want to go out and manually request a cert, this must be done from the Web Enrollment Service.

I set this up on a seperate machine and had to create an account that could "request on behalf of".  The link above should provide what you need.  I know it is strange, but you can not request a computer certificate unless this has been implemented.  I have this configured and working like a champ.  The cool thing is that you can export the reg key and import to configure on each client after the first initial configuration.  Hope this helps!

Lville Systems Jockey
btanExec ConsultantCommented:
This forum maybe of interest where debugging log can be enabled to see where possible failure lies and it was solved due to gpo customised setting restricting outgoing ntlm authentication.

Another here
tballinAuthor Commented:
Authenticated users, interactive and domain users were and are members of the of the builtin\users group.

I have checked this on multiple machines, and the same problem occurs on all.

The firewall is and has been disabled on the CA.

DNS resolution works fine and there are no host entries on the server.

Certificate enrollment policy web service, certificate authority web enrollment and certificate enrollment web service are all installed on this CA.

Here again is where I’m having trouble:

1.      From a Windows 7 domain computer I open an MMC with the certificates snap-in installed (Local computer)
2.      I right click on “Personal” and choose All Tasks > Request new certificates.
3.      I choose “Computer” in the Active Directory Enrollment Policy section of the cert enrollment wizard.
4.      After I click “enroll” I get the error message listed above.
Did you see my comment above?  It is my experience that you have to install the Certifficate Enrollment Web service and the Certificate Enrollment Policy Web Service.  It is added under roles.  See screenshot.  And post from above.
-Lville Systems Jockey
Add Role
tballinAuthor Commented:

I think you missed my comments above - those services are already installed:

"Certificate enrollment policy web service, certificate authority web enrollment and certificate enrollment web service are all installed on this CA."
btanExec ConsultantCommented:
What if you try manually requesting the certificate from the Certificates MMC? Just think thinking whether the template has allow permissikn for the machine, probably it is already has.

 By default, the Computer certificate template has Read and Enroll permissions for computers in the local domain.  So if you want to use this certificate template for computers in other domains, you will need to add a security group that contains the computers from your new domain and grant this group Read and Enroll permissions.  it should be possible from the Security tab of the certificate template. Just thinking Loud.

Probably you already saw this link before
Yes, that would be the first option I would think if it was on the domain.  I'm was just assuming it is not domain joined and connecting from the internet.  Big assumption.
tballinAuthor Commented:
Requesting certificates manually using the certificates MMC is the only way I have tried...


DCOM is enabled on the CA
The RPC service is running on the CA
All computers including the CA are in the same domain
All computers including the CA are in the same subnet and do not pass through a firewall
The Windows firewall on the CA is also off
I can ping, so I know it's reachable and that DNS is working
However, when I run the Certutil command with the these parameters: -Ping -Config CAMachineName\, I get the following results:

Connecting to CAMachineName\ ...
Server could not be reached: The RPC server is unavailable. 0x800706ba (WIN32: 1722)

CertUtil: -ping command FAILED: 0x800706ba (WIN32: 1722)
CertUtil: The RPC server is unavailable.

btanExec ConsultantCommented:
Not sure having to put in the actual ip address is going to help to isolate the issue. I saw in some forum which they resolved similar error but due to in btw vpn restrict rpc protocol

Looks like not easy to drill down as all necessary right are avail, maybe now is to make sure nothing in btw client and ca server....
btanExec ConsultantCommented:
this old link has couple of troubleshooting guide, may help but seems like you have done that already...
tballinAuthor Commented:
Using the IP address didn't make a difference.

FYI, I've tried running certutil -Ping -Config CAMachineName\ on the CA (server and I get the same thing!
btanExec ConsultantCommented:
what if it is certutil -Config "\CAMachineName" -Ping ?
- Also CAMachineName is the subject name of the certificate for that CA

one tedious way is to sniff machine traffic to see if it does resolve the fqdn correctly or there are some RST packet along the way for negotiation, though I understand that pinging (not using certutil) can reach the CA.

Quite strange though
tballinAuthor Commented:
Nothing worked, so I installed this service on another VM, and now it works like a charm.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sorry we couldn't get a quicker resolution; I'm glad you got it running.
tballinAuthor Commented:
This was the solution
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.