file(DOWNLOAD/UPLOAD): Verify https certificates by default
The file(DOWNLOAD)
and file(UPLOAD)
commands have a TLS_VERIFY
option to enable certificate verification. Modern deployments of CMake can typically locate the system's certificates list so verification should now work.
We should consider adding a policy to enable the TLS_VERIFY
option by default. Projects can then explicitly turn it off if not wanted.