SQL Server 2008 R2 is out-of-support since a long time.
Have you installed the required update for SQL Server to support TLS?
See TLS 1.2 support for Microsoft SQL Server
You can add "Encrypt=False" to SQL Server connection string to disable TLS.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a problem connecting to a database on SQL Server 2008 R2 from Windows 11. I get an error:
Unable to conncet: SQL Server is unavailable or does not exist. SSL Security error.
I have Microsoft SQL Server 2008 R2 (SP3-GDR) (KB4057113) - 10.50.6560.0 (Intel X86) Dec 28 2017 15:45:46 Copyright (c) Microsoft Corporation Standard Edition on Windows NT 5.2 <X86> (Build : ) (Hypervisor)
According to Microsoft, this version of SQL should not have problems with TLS.
On Windows 10 it's ok.
SQL Server 2008 R2 is out-of-support since a long time.
Have you installed the required update for SQL Server to support TLS?
See TLS 1.2 support for Microsoft SQL Server
You can add "Encrypt=False" to SQL Server connection string to disable TLS.
Hi @Mateusz888,
[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 "Enabled"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server] "DisabledByDefault"=dword:00000000 "Enabled"=dword:00000001
DisabledByDefault
and Enabled
settings are required to be created on Windows 7 clients and Windows Server 2008 R2 servers. On Windows 8 and later versions of the client operating systems or Windows Server 2012 server and later versions of the server operating systems, TLS 1.2 should already be enabled. If you're implementing a deployment policy for Windows Registry that needs to be independent of the OS release, then we recommend adding the mentioned registry keys to the policy.You may have a double check.
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.