FIX: ASP.NET Web application cannot deliver a client certificate to a security-enhanced Web site
For example, when you run the code in an ASP.NET Web application, you receive the following error message:
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next .NET Framework 1.0 service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date Time Version Size File name ------------------------------------------------------------------------ 02-Apr-2003 05:52 1.0.3705.418 20,480 Perfcounter.dll 02-Apr-2003 06:01 1.0.3705.418 1,175,552 System.dll 02-Apr-2003 05:04 1.0.3705.418 311,296 System.runtime.remoting.dll 02-Apr-2003 05:56 1.0.3705.418 503,808 System.web.services.dll
Warning You can use the MMC Certificate snap-in to import the certificate directly to the Certificates (Local Computer) store. However, if you have already imported the certificate to the current user's store, do not use the drag-and-drop method in the MMC Certificate snap-in to move the certificate to the Local Computer store.
For example, earlier, you double-clicked the certificate (.cer) file and then followed the instructions in the wizard to import the certificate to the current user's store. If you now use the drag-and-drop method in the MMC Certificate snap-in to move the certificate to the Local Computer store, the private key is not copied during the move operation. The private key is required to complete the certificate authentication handshake with the server.
For additional information about this problem, click the following article number to view the article in the Microsoft Knowledge Base:
WinHttp.WinHttpRequest req = new WinHttp.WinHttpRequestClass(); req.Open("GET", <<Https://YourURL>> , false); req.SetClientCertificate("LOCAL_MACHINE\\Root\\YourCert"); //path of the certificate and the certificate name (for example, Path\certname)
Note This issue is also fixed in the .NET Framework 1.1 through the June 2003 ASP.NET hotfix package. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
Article ID: 817854 - Last Review: 12/08/2015 02:25:48 - Revision: 6.4
- kbnosurvey kbarchive kbbug kbfix kbqfe kbnetframe100presp3fix kbpubtypekc kbhotfixserver KB817854