Closed fcatae closed 7 years ago
Reproduced the problem with NetCore 1.0.3:
Unhandled Exception: System.Data.SqlClient.SqlException: The instance of SQL Server you attempted to connect to requires encryption but this machine does not support it.
Found the problem: https://github.com/dotnet/corefx/issues/10198
Problem happens only if using:
Solution: Wait for dotnet/corefx fix the bug.
Workaround: Created a base container using Windows Server Core, and installed the .NET Core runtime.
See the repository: https://github.com/DXBrazil/ArdaContainers
After downgrading to 1.0.3 LTS, nothing related to crypto is working. For example:
However, it is possible to make standard HTTP calls and queries against SQL 2016 (on premise).