Article ID: 301429 - Last Review: January 10, 2006 - Revision: 5.2 How to install client certificate on IIS Server for ServerXMLHTTP request objectThis article was previously published under Q301429 SUMMARY Starting with the Microsoft XML Parser version 3.0 Service
Pack 1 (SP1) release (Msxml3.dll, file version 8.10.8308), ServerXMLHTTP supports Secure Sockets Layer (SSL) with client certificates.
This article describes how to install a client certificate on Microsoft
Internet Information Server (IIS). A client certificate is required to make
HTTPS requests to Web servers that require client digital certificates.
MORE INFORMATION Currently, the ServerXMLHTTP object in MSXML 3.0 SP1 looks only in the personal certificate
store of the user account where the IIS process runs. For IIS applications that
are set to run with medium or high application protection levels, that account
is typically the IWAM_machinename account
or the Network Service account. The ServerXMLHTTP object in MSXML 3.0 SP1 does not look in the Local Computer
certificate store. Note By default, the process identity on IIS 6.0 is the Network Service account. The process identity on the version that is earlier than IIS 6.0 is the IWAM_machinename account. The ServerXMLHTTP object that is included in MSXML 3.0 SP2 is in the Local Computer certificate store. Therefore, you can use MSXML3.0 SP2 as a workaround. Installing client certificates on the local computer under the IWAM_machinename account or under the Network Service account may require the user to change the IWAM_machinename account password or the Network Service account password, synchronize the IIS metabase, update the IIS COM+ component manager, and so on. To install a client certificate on the local computer under the IWAM_machinename account or under the Network Service account, follow these steps: Note Currently MSXML 3.0 SP1 requires these steps even when you are connecting to Web servers that do not require client certificates with ServerXMLHTTP. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 302080
(http://support.microsoft.com/kb/302080/
)
BUG: "Access is denied" error
message when making HTTPS requests with ServerXMLHTTP
Restart IIS server.Note If you have multiple client certificates are installed, you can use the setOptions method and the SXH_OPTION_SELECT_CLIENT_SSL_CERT(Option 3) parameter with the ServerXMLHTTP object in MSXML 3.0 SP1 to specify the name of the client certificate, as follows: Important COM+ Packages do not load the HKEY_CURRENT_USER registry hive corresponding to the identity of the COM+ package. For this reason, the client certificate will no longer be available if the IIS server that contains the ASP page that calls the ServerXMLHTTP object is rebooted. Therefore, you must install the client certificate that is explained earlier, and you must also create and run a service application that is described in the following Microsoft Knowledge Base article. For more information about COM+ behavior, click the following article number to view the article in the Microsoft Knowledge Base: 202785
(http://support.microsoft.com/kb/202785/
)
MTS and COM+ processes do not load
the HKCU registry hive
To obtain the sample code of the service
application, click the following article number to view the article in the
Microsoft Knowledge Base: 189996
(http://support.microsoft.com/kb/189996/
)
How to
manage threads in a Windows NT, Windows 2000, and Windows XP System
Service
When certificate is specified from the ASP pages,
call setOption with the full path to the certificate:REFERENCES
For more information about how to enable SSL/TLS on Web sites of an IIS Web server, click the following article numbers to view the articles in the Microsoft Knowledge Base:
228821
(http://support.microsoft.com/kb/228821/
)
Generating a certificate request
file using the Certificate Wizard in IIS 5.0
228836
(http://support.microsoft.com/kb/228836/
)
Installing a new certificate with
Certificate Wizard for use in SSL/TLS
If you already have a Web server certificate, click the following article number to view the article in the Microsoft Knowledge Base:232137
(http://support.microsoft.com/kb/232137/
)
How to import a server certificate
for use in Internet Information Services 5.0
| Article Translations
|
Back to the top
