I am getting this error when trying to send data to database in ASP.NET Core 7 MVC:
SSL Provider: The certificate chain was issued by an authority which is not trusted.
I also added to my connection string: TrustServerCertificate=True
and still doesn't work.
I tried adding trustservercertificate, changing tcp ip, running ssms as administrator, restarting it etc.