Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to use Certificate Services Web enrollment pages together with Windows Vista or Windows Server 2008


View products that this article applies to.

Summary

The Windows Server 2003 Certificate Services Web enrollment functionality relies on an ActiveX control that is named Xenroll. This ActiveX control is available in Microsoft Windows 2000 and in later versions of Windows. However, Xenroll has been deprecated in Windows Vista and in Windows Server 2008. The sample certificate enrollment Web pages that are included with the original release version of Microsoft Windows Server 2003, with Windows Server 2003 Service Pack 1 (SP1), and with Windows Server 2003 Service Pack 2 (SP2) are not designed to handle the change in how Windows Vista and Windows Server 2008 perform Web-based certificate enrollment operations.

↑ Back to the top


INTRODUCTION

This article discusses how to use Certificate Services Web enrollment pages together with Windows Vista or Windows Server 2008.

↑ Back to the top


More Information

Certificate Services is available on computers that are running the following operating systems:
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2008
Certificate Services provides customizable services to issue and to manage certificates for use with software security systems that use public key technology. Windows Certificate Services includes a set of certification authority (CA) Web pages. These Web pages provide a simple user interface to perform many of the common user tasks in the certification authority. These Web enrollment pages let you use a Web browser to connect to the certification authority. You can use the Web browser to perform common tasks, such as requesting a certificate, requesting the certification authority certificate, submitting a certificate request by using a PKCS #10 file, and so on.

Certificate enrollment Web pages are especially helpful in a scenario where the client computer cannot connect to the certification authority directly. You may experience this scenario in an environment where the client computer is not a member of the domain or where the certification authority is located in a different Active Directory directory service forest.

The certificate enrollment Web pages are included as an optional component in the original release version of Windows Server 2003, in Windows Server 2003 Service Pack 1 (SP1), and in Windows Server 2003 Service Pack 2 (SP2). These Web pages include a script that is based on the Xenroll ActiveX control. When you visit the certificate enrollment Web site, the client computer automatically downloads and installs the correct version of Xenroll if the correct version of Xenroll is not already installed.

Windows Vista and Windows Server 2008 do not use Xenroll. Instead, Windows Vista and Windows Server 2008 use a set of dual interface Component Object Model (COM) objects. This set of COM objects is known as CertEnroll. Xenroll is disabled in Windows Vista and in Windows Server 2008. Therefore, if you try to manually install Xenroll, the installation is unsuccessful.

Windows Server 2008 includes updated sample Web pages for Web-based certificate enrollment operations. These Web pages are updated to work together with the CertEnroll component in Windows Vista. Additionally, these Web pages work together with Xenroll.

Windows Server 2008 certificate enrollment Web pages

Windows Server 2008 includes updated sample Web pages for Web-based certificate enrollment operations. These Web pages are updated to work together with the CertEnroll component in Windows Vista. Additionally, these Web pages work together with Xenroll.

The certificate enrollment Web pages in Windows Server 2008 are designed to detect the client operating system and to then use the appropriate control. If the client computer is running Windows Server 2003 or Microsoft Windows XP, the certificate enrollment Web pages use Xenroll. If the client computer is running Windows Vista or Windows Server 2008, the certificate enrollment Web pages use CertEnroll.

Note The Windows Vista certificate enrollment client component has been enhanced over that of earlier versions of Windows. Some of the functionality that was formerly accessed by using Web pages is now included in the client component. Therefore, this functionality has been removed from the updated certificate enrollment Web pages. Functionality that has been removed includes the following:
  • The Enroll on Behalf of operation

    An enrollment agent uses this feature to enroll for a certificate on behalf of another user.
  • Computer certificate enrollment

    Administrative rights are required to request a computer certificate. In Windows Vista, Microsoft Internet Explorer does not use administrative rights to run. Therefore, the option to store a computer certificate in the computer store was removed from the Windows Server 2008 certificate enrollment pages.
  • The Xenroll .cab file

    If a client computer has an earlier version of Xenroll installed, the client is not prompted to upgrade to the latest version of Xenroll.
  • The whole range of locales for the Web pages

    Certain localized versions of the certificate enrollment Web pages may not be available until Windows Server 2008 is released.

Windows Server 2003 and Windows Server 2003 SP1 certificate enrollment Web pages

Windows Server 2003 and Windows Server 2003 SP1 certificate enrollment Web pages do not contain code to detect the certificate enrollment changes in Windows Vista and in Windows Server 2008. Therefore, these Web pages always try to use Xenroll. Therefore, when you try to perform a Web-based certificate enrollment operation from Windows Vista or from Windows Server 2008, the certificate enrollment operation is unsuccessful.

In this scenario, you receive the following message in the Web browser window:
Downloading ActiveX control.

Windows Server 2003 SP2 certificate enrollment Web pages

Windows Server 2003 SP2 certificate enrollment Web pages have been updated to detect the certificate enrollment changes in Windows Vista and in Windows Server 2008. However, because of the different release dates for Windows Server 2003 SP2, for Windows Vista, and for Windows Server 2008, Windows Server 2003 SP2 certificate enrollment Web pages do not recognize the CertEnroll interfaces. Therefore, if you visit the certificate enrollment Web site by using a computer that is running Windows Vista or Windows Server 2008, you receive a message that states that the Web pages must be updated.

Interoperability table

The following table illustrates the interoperability between the various versions of the certificate enrollment Web pages and the various Windows-based client computers.
Windows Server 2003 and Windows Server 2003 SP1Windows Server 2003 SP2Windows Server 2008
Client computers that are earlier than Windows VistaSupportedSupportedSupported but with reduced functionality
Windows Vista-based client computersUnsuccessful together with a "Downloading ActiveX control" messageUnsuccessful together with a message that states that the Web pages must be updatedSupported
Important We recommend that you back up the %systemroot%\System32\Certsrv folder before you install the updated Web pages. The installation process causes updates and deletions to files in this folder that may cause you to lose customizations and additions. After you finish the backup process, follow the installation instructions on the download page for the update package.

↑ Back to the top


Keywords: kb, kbentirenet, kbhowto, kbenv, kbinfo

↑ Back to the top

Article Info
Article ID : 922706
Revision : 1
Created on : 1/7/2017
Published on : 2/16/2012
Exists online : False
Views : 577