Share via

SSL Error connecting to Azure SQL

Mike Fleming 0 Reputation points
2024-11-11T18:34:16.8+00:00

A connection was successfully established with the server, but then an error occurred during the pre-login handshake

I am getting this error when testing from SSMS and also from linked servers and SSIS providers.

Around the 4th November, this connection stopped working. I see that TLS 1.0 and 1.1 were due to be deprecated on 31st October 2024 so I suspect this is related to this event.

However, I am getting this on a newly installed Dev server which is Windows Server 2022 and I am also seeing this on the Production server which is Windows Server 2012.

I have disabled the TLS 1.0 and 1.1 using IIS Crypto and also disabled in the registry using these keys

SCHANNEL\Protocols\TLS 1.1\Client

SCHANNEL\Protocols\TLS 1.1\Server

SCHANNEL\Protocols\TLS 1.2\Client

SCHANNEL\Protocols\TLS 1.2\Server

Azure SQL Database
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories


2 answers

Sort by: Most helpful
  1. Anonymous
    2024-11-14T10:00:55.09+00:00

    Hi Mike Fleming,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    Does your previously posted issue got resolved?

    Was this answer helpful?

    0 comments No comments

  2. Mike Fleming 0 Reputation points
    2024-11-13T19:03:30.3066667+00:00

    Hi, this turned out to be a firewall issue. I was sidetracked by the fact that test-netconnection worked, but the application was blocked on the firewall.

    Thanks for your response.

    Was this answer helpful?


Your answer

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