首页 > 其他分享 >EF Core迁移 (provider: SSL Provider, error: 0 - 证书链是由不受信任的颁发机构颁发的。)

EF Core迁移 (provider: SSL Provider, error: 0 - 证书链是由不受信任的颁发机构颁发的。)

时间:2022-12-09 23:44:27浏览次数:46  
标签:Core error 证书 provider 颁发 SSL Provider

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - 证书链是由不受信任的颁发机构颁发的。)

 

字符串中添加Encrypt=True;TrustServerCertificate=True;即可

 

标签:Core,error,证书,provider,颁发,SSL,Provider
From: https://www.cnblogs.com/hljjway/p/16970553.html

相关文章