Answer the question
In order to leave comments, you need to log in
How to fix error when connecting to MS SQL Server in ASP Net Core application on Ubuntu?
Hosted an ASP Net Core application on ubuntu 20.10. I start and at the moment when I need to connect to the database, an error occurs:
SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 31 - Encryption(ssl/tls) handshake failed)
Answer the question
In order to leave comments, you need to log in
According to this post:
(provider: SSL Provider, error: 31 - Encryption(ssl/tls) handshake failed
Read:
https://docs.microsoft.com/en-us/sql/connect/ado-n...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question