In my case, I tried to connect to MS SQL 2008 without encryption, since only TLS 1.2 and 1.3 were enabled on the web server (Windows Server 2022). I experimented with many settings, but eventually discovered that when only TLS 1.3 is enabled, the connection to MS SQL works (unencrypted). We then enabled TLS 1.2 in the registry as well, but only for the “Server” role (to keep RDP working, etc.), not for “Client”.