Microsoft KB Archive/294266

= FIX: ServerXMLHTTP Does Not Support Client Certificates or Redirects Between HTTP and HTTPS =

Article ID: 294266

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft XML Parser 2.0
 * Microsoft XML Parser 2.5
 * Microsoft XML Parser 2.6
 * Microsoft XML Core Services 4.0

-



This article was previously published under Q294266



SYMPTOMS
If you use ServerXMLHTTP to request a page from a server that requires client certificates, the request may not succeed, and you may receive the following error message:

A certificate is required to complete client authentication

Also, if the object makes a request by using one protocol (such as HTTP), and the requested page on the server redirects the output to another page by using a different protocol (such as HTTPS), the call may also fail and you may receive one of the following error messages:

A redirect request will change a non-secure to a secure connection

or

A redirect request will change a secure to a non-secure connection



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Microsoft XML 3.0 Service Pack 1.

For additional information on other fixes included in Microsoft XML 3.0 Service Pack 1, click the article number below to view the article in the Microsoft Knowledge Base:

292935 INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 1

For the latest information and downloads of MSXML, refer to the following MSDN Web site at:

http://msdn.microsoft.com/xml/default.asp



Requirement
Server Certificate enabling Secure Socket Layers

Steps to Reproduce Behavior
  Paste the following code into a new ASP document, and save the document as Repro.asp in a Web-accessible folder: <%@Language=VBScript%> <%   dim sxhr set sxhr = server.CreateObject(&quot;MSXML2.ServerXMLHTTP&quot;) sxhr.Open &quot;GET&quot;, &quot;https://MyServer/server1.asp&quot; sxhr.Send Response.Write sxhr.responseText %>                    Change the address of the server to point to your server.  Paste the following code into a new ASP document, and save the document as Server1.asp in the folder that corresponds to the root of the server: <%@ Language=VBScript %> <% Response.Redirect &quot;http://MyServer/server2.asp&quot; %>  Change the server address to point to your server.  Paste the following code into a third ASP document, and save the document as Server2.asp in the same folder as Server1.asp: <%@ Language=VBScript %> This is some data...  Browse to Repro.asp. You receive an error message because the HTTPS page (Repro.asp) redirects the output to an HTTP page (Server2.asp).</li></ol>

Keywords: kbbug kbfix kbmsxml300sp1fix kbmsxmlnosweep KB294266

-

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

© Microsoft Corporation. All rights reserved.