This issue occurs even for `Windows 10 Sitecore v9.3`, solution mentioned adding `"TrustServerCertificate": true`, in 4 places in `xconnect-xp0.json` resolved the issue for me. This ideally should be part of Sitecore scripts not sure why its not updated. Thanks for sharing the info, its very useful.