Microsoft KB Archive/929494

= Error message when you request a certificate from a computer that is running Windows Server 2003 with Service Pack 1: &quot;The certificate request failed because of one of the following conditions…&quot; =

Article ID: 929494

Article Last Modified on 10/11/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, Standard x64 Edition
 * Microsoft Windows Server 2003, Enterprise x64 Edition
 * Microsoft Windows Server 2003, Datacenter x64 Edition
 * Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
 * Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you use the Certificates snap-in to request a computer certificate or a user certificate, you may receive one of the following error messages:

Message 1
The certificate request failed because of one of the following conditions:

-The certificate request was submitted to a See Comment that is not started.

-You do not have the permissions to request certificates from the available CAs.

Message 2
The certificate request failed because of one of the following conditions:

-The request required an exchange certificate from a Certification Authority (CA) that is not started.

-You do not have the permissions to request certificates from the available CAs.

This problem may occur when Certificate Services is enabled on a host computer that is running Microsoft Windows Server 2003 with Service Pack 1 (SP1).



CAUSE
This problem may occur if the client computer is missing the EnableDCOM registry entry.

The EnableDCOM registry entry is located in the following registry subkey:



RESOLUTION
To resolve this problem, confirm that the problem is not related to the certification authority (CA). Then, add the missing registry entry.

Follow these steps to make sure that the problem is not related to the CA.

Note This procedure requires that you use the Cominfo.exe utility. To obtain the Cominfo.exe utility, contact Microsoft Customer Support Services. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

 Verify that the CA and all its parent CA certificates are trusted and valid. Make sure that the certificate template's discretionary access control list (DACL) on the CA includes the Authenticated Users group. If the Authenticated Users group is removed from the DACL, the CA can no longer read the template in Active Directory. Therefore, the CA cannot issue certificates. On the client computer, type the following commands at a command prompt. Press ENTER after each command.

certutil –template

certutil –dump

Note The first command displays the user's permissions on the available templates. An &quot;Access denied&quot; status appears for each certificate template that cannot be used by the user who is currently logged on. The second command displays a list of enterprise CAs. Type the following command to find the common name (CN) of the CA, and then press ENTER:

certutil –dump | findstr config

 Type the following command, and then press ENTER:

set config= \

 Type the following command, and then press ENTER:

certutil –config &quot;%config%&quot; –ping

You may receive an &quot;Access denied&quot; message.</li> Type the following command to export a CA exchange certificate, and then press ENTER:

certutil –config &quot;%config%&quot; –cainfo xchg

You may receive a message that resembles the following:

Exported CA Exchange Certificate to xchg.cer

</li> Type the following command, and then press ENTER:

certutil –config &quot;%config%&quot; –verify –urlfetch xchg.cer

You may receive a message that resembles the following:

CertUtil -verify command FAILED: 0x8009310b (ASN: 267)

</li> Run the Cominfo.exe utility to collect DCOM information.

The Cominfo.exe utility may produce output that resembles the following:

DCOM Installed

The value EnableDCOM is not present under HKEY_LOCAL_MACHINE\Software\Microsoft\Ole. [Warning: You are likely to get error RPC_E_REMOTE_DISABLED if you run DCOM applications in this machine.]

This message confirms that the problem is related to the missing registry entry.</li></ol>

To add the EnableDCOM registry entry, follow these steps.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. <ol> Click Start, click Run, type regedit, and then click OK.</li> Locate and then click the following registry subkey:

</li> On the Edit menu, point to New, and then click String Value.</li> Type EnableDCOM, and then press ENTER.</li> Right-click EnableDCOM, and then click Modify.</li> Type Y in the Value data box, and then click OK.</li> Exit Registry Editor.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For more information about a similar problem, click the following article number to view the article in the Microsoft Knowledge Base:

927066 Error message when a client computer requests a certificate from a computer that is running Windows Server 2003 with Service Pack 1: &quot;The wizard cannot be started because of one or more of the following conditions&quot;

For more information about the changes to DCOM security settings after you install Windows Server 2003 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:

903220 Description of the changes to DCOM security settings after you install Windows Server 2003 Service Pack 1

Keywords: kberrmsg kbtshoot kbprb kbexpertiseadvanced KB929494

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.