SSL authentication fails and X.509 error occurs when a WCF-enabled application performs mutual authentication in Windows 7, in Windows Server 2008 R2, in Windows Vista, or in Windows Server 2008

Symptoms

Consider the following scenario:

  • You have a computer that is running one of the following operating systems:

    • Windows Vista

    • Windows Server 2008

    • Windows 7

    • Windows Server 2008 R2

  • You have an application that enables Windows Communication Foundation (WCF) on the computer.

  • The application relies on a client certificate in the store of a user to authenticate with a server.

  • The application performs mutual authentication by using the client certificate.

In this scenario, the authentication causes an exception intermittently, and you receive an error message that resembles the following:

The X.509 certificate CN=<Host> chain building failed

Then, the application cannot authenticate with the server.

Note The client certificate is deleted from the store of the user when this issue occurs, and you have to reinstall the certificate for the application to work again.

Cause

This issue occurs because the root certificate is deleted by lsass.exe during SSL communication in a WCF application.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem that is described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:

  • Windows Vista Service Pack 2 (SP2)

  • Windows Server 2008 Service Pack 2 (SP2)

  • Windows 7

  • Windows 7 Service Pack 1 (SP1)

  • Windows Server 2008 R2

  • Windows Server 2008 R2 Service Pack 1 (SP1)

For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:

935791 How to obtain the latest Windows Vista service pack

For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

968849 How to obtain the latest service pack for Windows Server 2008

Registry information

You do not have to make any changes to the registry to use this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows Vista and Windows Server 2008 file information notes

Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.

  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.

    Version

    Product

    SR_Level

    Service branch

    6.0.600
    2.
    22xxx

    Windows Vista and Windows Server 2008

    SP2

    LDR

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows Server 2008 and of Windows Vista

File name

File version

File size

Date

Time

Platform

Schannel.dll

6.0.6002.22568

275,456

11-Jan-2011

15:58

x86

For all supported x64-based versions of Windows Server 2008 and of Windows Vista

File name

File version

File size

Date

Time

Platform

Schannel.dll

6.0.6002.22568

343,552

11-Jan-2011

16:22

x64

Schannel.dll

6.0.6002.22568

275,456

11-Jan-2011

15:58

x86

For all supported IA-64-based versions of Windows Server 2008

File name

File version

File size

Date

Time

Platform

Schannel.dll

6.0.6002.22568

800,256

11-Jan-2011

15:39

IA-64

Schannel.dll

6.0.6002.22568

275,456

11-Jan-2011

15:58

x86

Windows 7 and Windows Server 2008 R2 file information notes


Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.

  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:

    Version

    Product

    Milestone

    Service branch

    6.1.760

    0.20xxx

    Windows 7 and Windows Server 2008 R2

    RTM

    LDR

    6.1.760

    1.21xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    LDR

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are very important to maintaining the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows 7

File name

File version

File size

Date

Time

Platform

Schannel.dll

6.1.7600.20861

224,256

18-Dec-2010

05:30

x86

Schannel.dll

6.1.7601.21624

224,256

18-Dec-2010

07:57

x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Schannel.dll

6.1.7600.20861

339,456

18-Dec-2010

06:09

x64

Schannel.dll

6.1.7601.21624

340,992

18-Dec-2010

08:51

x64

Schannel.dll

6.1.7600.20861

224,256

18-Dec-2010

05:30

x86

Schannel.dll

6.1.7601.21624

224,256

18-Dec-2010

07:57

x86

For all supported IA-64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Schannel.dll

6.1.7600.20861

645,120

18-Dec-2010

05:19

IA-64

Schannel.dll

6.1.7601.21624

645,120

18-Dec-2010

09:35

IA-64

Schannel.dll

6.1.7600.20861

224,256

18-Dec-2010

05:30

x86

Schannel.dll

6.1.7601.21624

224,256

18-Dec-2010

07:57

x86

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684

Description of the standard terminology that is used to describe Microsoft software updates

For more information about Windows Communication Foundation (WCF), visit the following Microsoft webpage:

Introduction to Windows Communication Foundation

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008

File name

Update.mum

File version

Not applicable

File size

3,078

Date (UTC)

11-Jan-2011

Time (UTC)

21:12

Platform

Not applicable

File name

X86_c36fd101e44036c25029663ad087ed9f_31bf3856ad364e35_6.0.6002.22568_none_01621f48d6b3bfaa.manifest

File version

Not applicable

File size

705

Date (UTC)

11-Jan-2011

Time (UTC)

21:12

Platform

Not applicable

File name

X86_microsoft-windows-security-schannel_31bf3856ad364e35_6.0.6002.22568_none_244d89d36bb02a1e.manifest

File version

Not applicable

File size

18,090

Date (UTC)

11-Jan-2011

Time (UTC)

16:13

Platform

Not applicable

Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008

File name

Amd64_c7a934a3f337c5a5a3c4407c7ea6f23f_31bf3856ad364e35_6.0.6002.22568_none_3b9fcfe3eb1e07b3.manifest

File version

Not applicable

File size

1,060

Date (UTC)

11-Jan-2011

Time (UTC)

21:12

Platform

Not applicable

File name

Amd64_microsoft-windows-security-schannel_31bf3856ad364e35_6.0.6002.22568_none_806c2557240d9b54.manifest

File version

Not applicable

File size

18,120

Date (UTC)

11-Jan-2011

Time (UTC)

16:35

Platform

Not applicable

File name

Update.mum

File version

Not applicable

File size

3,102

Date (UTC)

11-Jan-2011

Time (UTC)

21:12

Platform

Not applicable

File name

Wow64_microsoft-windows-security-schannel_31bf3856ad364e35_6.0.6002.22568_none_8ac0cfa9586e5d4f.manifest

File version

Not applicable

File size

17,557

Date (UTC)

11-Jan-2011

Time (UTC)

16:02

Platform

Not applicable

Additional files for all supported IA-64-based versions of Windows Server 2008

File name

Ia64_5b60d2d6e3f486a67cce551e7dd5c6af_31bf3856ad364e35_6.0.6002.22568_none_0afef2a568fb10d4.manifest

File version

Not applicable

File size

1,058

Date (UTC)

11-Jan-2011

Time (UTC)

21:12

Platform

Not applicable

File name

Ia64_microsoft-windows-security-schannel_31bf3856ad364e35_6.0.6002.22568_none_244f2dc96bae331a.manifest

File version

Not applicable

File size

18,105

Date (UTC)

11-Jan-2011

Time (UTC)

15:50

Platform

Not applicable

File name

Update.mum

File version

Not applicable

File size

2,255

Date (UTC)

11-Jan-2011

Time (UTC)

21:12

Platform

Not applicable

File name

Wow64_microsoft-windows-security-schannel_31bf3856ad364e35_6.0.6002.22568_none_8ac0cfa9586e5d4f.manifest

File version

Not applicable

File size

17,557

Date (UTC)

11-Jan-2011

Time (UTC)

16:02

Platform

Not applicable

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7

File name

Update.mum

File version

Not applicable

File size

2,773

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

X86_7177985e1a00a0d94bbc8538c0e7b860_31bf3856ad364e35_6.1.7601.21624_none_0b928e26d5d333c6.manifest

File version

Not applicable

File size

705

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

X86_ad4456608ff1ba245c89eb4a0a076ebb_31bf3856ad364e35_6.1.7600.20861_none_ff3be6a30ef14c86.manifest

File version

Not applicable

File size

705

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

X86_microsoft-windows-security-schannel_31bf3856ad364e35_6.1.7600.20861_none_2287e444cfa7635a.manifest

File version

Not applicable

File size

12,919

Date (UTC)

18-Dec-2010

Time (UTC)

05:59

Platform

Not applicable

File name

X86_microsoft-windows-security-schannel_31bf3856ad364e35_6.1.7601.21624_none_249c81d8ccaaab87.manifest

File version

Not applicable

File size

12,919

Date (UTC)

18-Dec-2010

Time (UTC)

08:33

Platform

Not applicable

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

Amd64_2c974159d691e2f2f950eb62ba459376_31bf3856ad364e35_6.1.7601.21624_none_1ad712556780e16c.manifest

File version

Not applicable

File size

709

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Amd64_4032f8f471821265d6de647a4f4532f6_31bf3856ad364e35_6.1.7600.20861_none_59e440ee1352aff4.manifest

File version

Not applicable

File size

709

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Amd64_8312bfa35e3020d3c4f092d2f33050a6_31bf3856ad364e35_6.1.7600.20861_none_60f3d3bf962495fe.manifest

File version

Not applicable

File size

709

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Amd64_b347fab83544d6e784e0aba2413a9b9c_31bf3856ad364e35_6.1.7601.21624_none_5bfdfd0f8e72e819.manifest

File version

Not applicable

File size

1,060

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Amd64_d97e71c139c58eeff88aaa1036979816_31bf3856ad364e35_6.1.7600.20861_none_8389137c8f9a064c.manifest

File version

Not applicable

File size

1,060

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Amd64_f6984a49ac75372f04a09b81fa098219_31bf3856ad364e35_6.1.7601.21624_none_ee4ed5469f0247c7.manifest

File version

Not applicable

File size

709

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Amd64_microsoft-windows-security-schannel_31bf3856ad364e35_6.1.7600.20861_none_7ea67fc88804d490.manifest

File version

Not applicable

File size

12,921

Date (UTC)

18-Dec-2010

Time (UTC)

06:53

Platform

Not applicable

File name

Amd64_microsoft-windows-security-schannel_31bf3856ad364e35_6.1.7601.21624_none_80bb1d5c85081cbd.manifest

File version

Not applicable

File size

12,921

Date (UTC)

18-Dec-2010

Time (UTC)

09:26

Platform

Not applicable

File name

Update.mum

File version

Not applicable

File size

4,059

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Wow64_microsoft-windows-security-schannel_31bf3856ad364e35_6.1.7600.20861_none_88fb2a1abc65968b.manifest

File version

Not applicable

File size

6,945

Date (UTC)

18-Dec-2010

Time (UTC)

05:50

Platform

Not applicable

File name

Wow64_microsoft-windows-security-schannel_31bf3856ad364e35_6.1.7601.21624_none_8b0fc7aeb968deb8.manifest

File version

Not applicable

File size

6,945

Date (UTC)

18-Dec-2010

Time (UTC)

08:23

Platform

Not applicable

Additional files for all supported IA-64-based versions of Windows Server 2008 R2

File name

Ia64_2bf29287825205fbbb1c09552fec48e8_31bf3856ad364e35_6.1.7600.20861_none_73e95e565c10c4b2.manifest

File version

Not applicable

File size

707

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Ia64_4032f8f471821265d6de647a4f4532f6_31bf3856ad364e35_6.1.7600.20861_none_fdc749605af347ba.manifest

File version

Not applicable

File size

708

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Ia64_4519a494fe0b9dd97753e3fde607c9dc_31bf3856ad364e35_6.1.7601.21624_none_c549f5804bb2e224.manifest

File version

Not applicable

File size

707

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Ia64_f6984a49ac75372f04a09b81fa098219_31bf3856ad364e35_6.1.7601.21624_none_9231ddb8e6a2df8d.manifest

File version

Not applicable

File size

708

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Ia64_microsoft-windows-security-schannel_31bf3856ad364e35_6.1.7600.20861_none_2289883acfa56c56.manifest

File version

Not applicable

File size

12,920

Date (UTC)

18-Dec-2010

Time (UTC)

06:52

Platform

Not applicable

File name

Ia64_microsoft-windows-security-schannel_31bf3856ad364e35_6.1.7601.21624_none_249e25cecca8b483.manifest

File version

Not applicable

File size

12,920

Date (UTC)

18-Dec-2010

Time (UTC)

09:58

Platform

Not applicable

File name

Update.mum

File version

Not applicable

File size

2,169

Date (UTC)

20-Dec-2010

Time (UTC)

20:11

Platform

Not applicable

File name

Wow64_microsoft-windows-security-schannel_31bf3856ad364e35_6.1.7600.20861_none_88fb2a1abc65968b.manifest

File version

Not applicable

File size

6,945

Date (UTC)

18-Dec-2010

Time (UTC)

05:50

Platform

Not applicable

File name

Wow64_microsoft-windows-security-schannel_31bf3856ad364e35_6.1.7601.21624_none_8b0fc7aeb968deb8.manifest

File version

Not applicable

File size

6,945

Date (UTC)

18-Dec-2010

Time (UTC)

08:23

Platform

Not applicable

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×