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 |
384 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