我们有一些xp (非常旧的)机器无法连接到sql server 2017 (在Linux上运行)。我们尝试测试与ODBC的连接。这个问题与SSL有关。
有没有办法把它关掉,这样它就可以工作了?
Error Message : Microsoft SQL Server Login
Connection failed:
SQLState: '01000'
SQL Server Error: 772
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen(SECDoClientHandshake()).
Connection failed:
SQLSTATE: '08001'
SQL Server Error: 18
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error
发布于 2019-06-18 03:47:30
我也遇到了同样的问题,并在https://www.smartftp.com/pt-br/support/kb/2754上得到了解决方案。以下是步骤,在此情况下,此链接转到南部。
该解决方案包括在XP上添加对TLS1.2的支持,该支持适用于基于Windows XP SP3的"Windows Embedded POSReady 2009“(更多信息请访问https://en.wikipedia.org/wiki/Windows_Embedded_Industry#Windows_Embedded_POSReady_2009)。
要使它在“普通的旧XP”上工作,您需要在Windows注册表中添加以下内容:
[HKEY_LOCAL_MACHINE\SYSTEM\WPA\PosReady]
"Installed"=dword:00000001
接下来,TLS的注册表项:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
"DisabledByDefault"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]
"DisabledByDefault"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
"DisabledByDefault"=dword:00000000
下一步是在微软的KB4019276 (https://support.microsoft.com/en-us/help/4019276/update-to-add-support-for-tls-1-1-and-tls-1-2-in-windows)上获得所需的更新。安装更新并重新启动。
https://stackoverflow.com/questions/55687080
复制相似问题