SQL Server connection refused when running only TLS1.2

Simon Chapman 1 Reputation point
2021-04-29T10:05:55.86+00:00

Hi,

We have the following setup

SQL Server 2016 running only TLS1.2
Application Servers running Windows Server 2012 and 2016 and only TLS1.2
Workstations running Windows 10 and only TLS1.2

We then have an application that attempts to connect to the SQL server.
When running the application on the workstations we have no issues, when running the application on the server the connection to the SQL server is not made successfully.

I have tried running wireshark on the application server and can see that it attempts to connect to the SQL server, although I never see a handshake being initiated, I can see that the SQL server name, instance and port are returned and the version number, but this is wrong as is just returning the version as 13.2.5026.0 which is SP2 but we have some CU's installed on top of SP2.

I tried also removing the DL ciphers to eliminate the leading zero issue no change.

I activated SCHANNEL logging but that still doesn't log anything

I have no further logging so don't know what else to check.

Re-enabling TLS1.0 fixes the issue, but this isn't a possible solution

SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. CarrinWu-MSFT 6,891 Reputation points
    2021-05-03T01:44:30.76+00:00

    Hi @Simon Chapman ,

    After made some research, I found a blog might be help you:

    Correct the permissions on the c:\ProgramData\Microsoft\Crypto\RSA\MachineKeys folder:

    1.Everyone Access: Special Applies to: This folder only
    2.Network Service Access: Read & Execute Applies to: This folder, subfolders and files
    3.Administrators Access: Full Control Applies to: This folder, subfolder and files
    4.System Access: Full control Applies to: This folder, subfolder and Files
    5.IUSR Access: Full Control Applies to: This folder, subfolder and files

    Best regards,
    Carrin


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Simon Chapman 1 Reputation point
    2021-05-04T05:36:11.713+00:00

    Hi,

    Thanks for the suggestion, but it didn't work.

    Still the same error.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.