Skip to content

An error occurred during pre-login handshake when building TLS 1.3 connection #2243

@JulieJiang752

Description

@JulieJiang752

Can we get detailed instructions somewhere on how to build TLS 1.3 connection with SQL Server 2022?

Here we have Windows Server 2022 Standard (Version: 21H2) + SQL Server 2022 (Version: 16.0.1000.6).

  1. TDS 8.x force strict encryption is enabled;
  2. On a Windows 11 client (or having the Windows Server 2022 as the client), we tried to connect to the SQL Server using SQL Server Management Studio 19.2. The error is:
    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) (Microsoft SQL Server, Error: 10054).

Note that the error won't occur if with TLS 1.2.
Your help will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions