错误信息:A connection was successfully established with the server, but then an error occurred during the login process.(provider: SSL Provider, error: 0 - 证书链是由不受信任的颁发机构颁发的。
解决:
直接在“数据库连接字符串最后面”增加证书信任的配置
//old连接字符串
Data Source=localhost\\SQLEXPRESS;Initial Catalog=master;Integrated Security=True
//new连接字符串(添加TrustServerCertificate=true)
Data Source=localhost\\SQLEXPRESS;Initial Catalog=master;Integrated Security=True;TrustServerCertificate=true
标签:Core,证书,Entity,颁发,字符串,信任,Integrated
From: https://www.cnblogs.com/ynysj/p/17074406.html