Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EF6.exe throwing TLS error when connecting to Azure databases requiring TLS 1.2 #2089

Closed
Zyano opened this issue Feb 1, 2023 · 1 comment

Comments

@Zyano
Copy link

Zyano commented Feb 1, 2023

Hi we recently ran into an issue where EF6.exe (used visual studio package manager) would fail to update databases which ran encrypted connection with TLS 1.2 as the minimum requirement.

Changing our DbConfiguration to include System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
Provides a workaround for the problem. But I would prefer not having a change of SecurityProtocols change present in order to use EF.

Checking the csproj shows it targeting .NET Framework 4.5 as the highest. From memory this means it will only allow SSLv3, TLS 1.0 and TLS 1.1.

@ajcvickers
Copy link
Member

This issue has been closed because EF6 is no longer being actively developed. We are instead focusing on stability of the codebase, which means we will only make changes to address security issues. See the repo README for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants