but this new computer having this issue has only "Microsoft ODBC Driver 18 for SQL Server" installed.
According to this doc: "The certificate chain was issued by an authority that is not trusted" error after upgrading SNAC applications.
If you recently upgraded your SQL Server Native Client 11.0 (Driver={SQL Server Native Client 11.0}) application to Microsoft ODBC Driver 18 for SQL Server (Driver={ODBC Driver 18 for SQL Server}), you might receive these error messages.
Then try below solutions:
Solution 1: Use the Microsoft ODBC Driver 17 for SQL Server. You can download the driver from Download ODBC Driver for SQL Server.
Solution 2: If the application connection string property already specifies a value of Yes or Mandatory for Encrypt setting, change the value to No or Optional. If the value isn't already specified, add Encrypt = Optional;
. If you're using a DSN, change the encryption setting from Mandatory to Optional. For more information, see DSN and connection string keywords and attributes.
Best regards,
Cosmog
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".