Windows 更新导致 SSMS 连接到我的服务器出现问题

问题描述

我在 Windows 10 上安装了 Windows 更新,现在 sql Server Management Studio 无法连接到我的服务器实例。在服务器上,TLS 1.0 在一年前被禁用。在 Windows 更新之前,我每天都能连接。我的其他同事能够正常连接。我在客户端和服务器上都使用 sql Server 2008 R2。

这是确切的错误

已成功与服务器建立连接,但在登录前握手期间发生错误。 (提供程序:SSL 提供程序,错误:0 - 客户端和服务器无法通信,因为它们没有通用算法。)(Microsoft sql Server,错误:-2146893007)

当前服务器注册表值:

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0]

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Client] "disabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server]

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0]

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server]

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0]

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client] "已启用"=dword:00000000

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server] "已启用"=dword:00000000

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1]

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client] "disabledByDefault"=dword:00000000 "已启用"=dword:00000001

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server] "disabledByDefault"=dword:00000000 "已启用"=dword:00000001

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client] "disabledByDefault"=dword:00000000 "已启用"=dword:00000001

[HKEY_LOCAL_MACHINE\SYstem\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server] "disabledByDefault"=dword:00000000 "已启用"=dword:00000001

有什么想法吗?

谢谢。

解决方法

我能够通过将 Sql Server 2008 r2 升级到 SP3 来纠正我的问题,然后我应用了这个补丁:https://support.microsoft.com/en-us/topic/description-of-the-security-update-for-sql-server-2008-r2-sp3-gdr-january-6-2018-f8290bc2-5abe-934c-4672-c454db0b73f6