Can't establish communication with DB using ODBC Driver 18 for SQL SERVER.
CA SCM HARVEST 14.0.2
Windows Server 2022
DB: SQL SERVER 2019
These errors occur if both the following conditions are true:
The error occurs because of a change in the default behavior of the client drivers. Older versions of client drivers are designed to assume that data encryption is OFF by default. The new drivers assume this setting to be ON by default. Because data encryption is set to ON, the driver tries to validate the server's certificate and fails.
Using [ODBC Driver 17 for SQL Server] instead of [ODBC Driver 18 for SQL Server] resolved the problem.
Please see the Microsoft Support site (link) which discusses further information about this functionality.