Hi @Sushil Agarwal,
Try adding TrustServerCertificate=True;
or adding Encrypt=False
to your connection string.
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello experts,
i am trying to connect to local pc sql server from visual studion 2022 community ide
its failing to establish connection by giving erro
connection was established scuusesfully but loin error occured SSL provide, error:0 the certificate chain issued by an authorty that is not untrusted
how to resolve this
Hi @Sushil Agarwal,
Try adding TrustServerCertificate=True;
or adding Encrypt=False
to your connection string.
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.
SSL provide,
Add "Encrypt=False" to your connection string to surpress connection SSL encryption.