Breaking changes - again -:( "SSL Provider, error: 0"
Attention breaking changes: A few weeks ago I had an error during a migration from .NET Core 3.1 to .NET 7 ... and today I had a similar error during an update from EF Core 6.0 to EF Core 7.0. I updated all packages and tried to start my solution. Everything seems fine: no compiler errors ... but then during startup: A connection was successfully established with the server, but then an error occurred during the login process. provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted. German part: (provider: SSL Provider, error: 0 - Die Zertifikatkette wurde von einer nicht vertrauenswürdigen Zertifizierungsstelle ausgestellt.) The reason for the above error is a minor change in the default settings for the database connection. Before EF Core 7.0 the SqlClient connection strings use Encrypt=False by default. This allows connections on development machines where the local server does not have a valid certificate. In EF Core 7.0 th...