Theme:
Remote certificated rejected .NET
I am having a problem with the Remote certificated being rejected when connecting to SQL Server.
Date: Monday, March 20, 2023
1 answers |
279 view(s)
by Mauricio Junior
Answers
To fix this problem, you need to use trusted_connection and encrypt on your connection string.
Connection String
"DefaultConnection": "server=my_server; database=my_database; **trusted_connection=false;** User id=my_user; Password=my_password; Persist Security Info=false; **Encrypt=False**"
Espero ter ajudado.
Monday, March 20, 2023
Mauricio Junior
![Finanças na prática](https://ecode10-image.s3.amazonaws.com/anuncios/04dea572-93c6-4004-8d3c-7446903082c7financas-na-pratica-730-90.gif)