如何解决Microsoft SQL Server。错误 233。提供商:SSL 提供商

How to solve Microsoft SQL Server. Error 233. Provider: SSL Provider

在全球勒索软件攻击之后,我们更新了我们的 Windows Server 2012 R2 才发现我们的 SQL Server Management Studio (SSMS) 停止了在职的。每当我们尝试在本地或远程连接到 SSMS 时,它都会向我们提供以下错误:

A connection was successfully established with the server, but then an error occured during the login process. (Provider: SSL Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)

我尝试使用 "Windows Authentication" 登录,但错误相同。我也尝试了类似 SQL Error 233 问题的解决方案,但没有结果。我在 Stack Overflow 上遇到的所有 SQL 错误 233 问题都与共享内存提供程序有关,但与 SSL 提供程序无关。

最后我遇到了这个 post:https://www.sqlservercentral.com/Forums/Topic1810025-3411-1.aspx 并尝试了以下解决方案:

但是其中 none 个有效,我们仍然无法登录到 SQL Server Management Studio。 非常感谢任何帮助或建议。提前谢谢你。

经过多次修改,我发现 Windows 更新修改了错误的 TLS 和 SSL 设置。我必须专门对注册表中的密码套件和协议进行更改才能使其正常工作,现在我们可以成功登录 SSMS(本地和远程登录)。所以我对registry的具体修改如下:

Changes in Schannel:: (Inlcuding Client Side Protocols)

Protocols Enabled: Multi-Protocol Unified Hello, PCT 1.0, TLS 1.0

Protocols Disabled: SSL 2.0, SSL 3.0, TLS 1.1, TLS 1.2

Ciphers Enabled: NULL, DES 56/56, RC2 40/128, RC2 56/128, RC2 128/128, RC4 40/128, RC4 56/128, RC4 64/128, RC4 128/128, Triple DES 168, AES 128/128, AES 256/256

Hashes Enabled: MD5, SHA, SHA 256, SHA 384, SHA 512

Key Exchanges Enabled: Diffie-Hellman, PKCS, ECDH

Cipher Suite Changes::

Disabled: SSL_CK_RC4_128_WITH_MD5, SSL_CK_DES_192_EDE3_CBC_WITH_MD5

Enabled: Everything else realted to TLS

为了轻松实现这一点(更改安全性和修改注册表)我还使用了这个工具 (IISCrypto):https://www.nartac.com/Products/IISCrypto

请确保此处提到的每个密码或协议都已明确启用或禁用,否则问题将无法解决。

希望对您有所帮助!