Hello Milind,
If you are using ADO.NET, you can add the certificate information to the connection string by including the "Encrypt=true" and "TrustServerCertificate=true" options.
string connectionString = "Data Source=YourServer;Initial Catalog=YourDB;Integrated Security=True;Encrypt=True;TrustServerCertificate=True";
Kindly check if above details exist or not.
Thanks
Naimish Makwana