SQL Server 2017 and TLS - client requirements
no,
TrustServerCertificate=true

means more or less
ignore certification source verification
It's used in env like your when a self-signed certificate is used for encryption.
It's better to use the certificate produced by a CA and distributed by your AD GPO.
In that case you don't need to use 'TrustServerCertificate=true'; but be sure to use in the connection string the FQDN of the server that is inside the certificate.