You may receive an error message when a SQL Server 2005 client requests encryption and connects to 127.0.0.1 on a Windows XP-based computer (916782)
The information in this article applies to:
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Express Edition
- Microsoft SQL Server 2005 Mobile Edition
- Microsoft SQL Server 2005 Standard Edition
- Microsoft SQL Server 2005 Enterprise Edition for Itanium Based Systems
- Microsoft SQL Server 2005 Enterprise X64 Edition
- Microsoft SQL Server 2005 Standard X64 Edition
- SQL Server 2005 Standard Edition for Itanium-based Systems
- Microsoft SQL Server 2005 Workgroup
NoticeBug #: 429587 (SQLBUDT) Bug #: 430805 (SQLBUDT)
SYMPTOMSWhen a Microsoft SQL Server 2005 client requests encryption and
connects to 127.0.0.1 on a Microsoft Windows XP-based computer, you may receive an error message that is
similar to one or more of the following error messages: CERT_E_CN_NO_MATCH [SQL
Native Client] SSL Provider: The certificate's CN name does not match the
passed value. [SQL Native Client] Client
unable to establish connection This issue occurs when the following
conditions are true:
- The SQL Server client requests protocol
encryption.
- The SQL Server client connects through the
IPv4 loopback address.
- The local loopback address is represented as IP address
127.0.0.1.
This issue affects all client libraries. Client libraries that are affected by this issue include the following: - The SQL Server .NET data
provider (Sqlclient)
- The SQL Native client
- Microsoft Data Access Components (MDAC)
Additionally, this issue prevents
successful dedicated administrator connections (DAC) to SQL Server 2005 on
Windows XP. WORKAROUNDTo work around this issue, use an alternative representation
of the name of the local host address instead of 127.0.0.1. The possible alternative representations include the following: Note This issue is expected behavior of the Windows secure sockets layer (SSL). STATUS This
behavior is by design.
Modification Type: | Major | Last Reviewed: | 4/14/2006 |
---|
Keywords: | kbtshoot kbnofix kbprb KB916782 kbAudITPRO kbAudDeveloper |
---|
|