file(DOWNLOAD/UPLOAD): Require minimum TLS 1.2 by default

Fixes: #25701
This commit is contained in:
Brad King
2024-09-23 14:47:04 -04:00
parent 0acff8e622
commit 5e1a59dc2b
8 changed files with 39 additions and 8 deletions
+4
View File
@@ -811,6 +811,10 @@ Transfer
environment variable will be used instead.
See :variable:`CMAKE_TLS_VERSION` for allowed values.
.. versionchanged:: 3.31
The default is TLS 1.2.
Previously, no minimum version was enforced by default.
``TLS_VERIFY <ON|OFF>``
Specify whether to verify the server certificate for ``https://`` URLs.
If this option is not specified, the value of the