summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-26 16:35:46 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-28 13:40:14 (GMT)
commit8e6776b9f3f17aa234e38ead7047f64c539cda1c (patch)
treefd042479f1d3fdbcb59fb6e701675a56a5c0674d /Help/command
parent9d1f831818fe34891be691837dfde2352cf5b6bd (diff)
downloadCMake-8e6776b9f3f17aa234e38ead7047f64c539cda1c.zip
CMake-8e6776b9f3f17aa234e38ead7047f64c539cda1c.tar.gz
CMake-8e6776b9f3f17aa234e38ead7047f64c539cda1c.tar.bz2
file(DOWNLOAD|UPLOAD): Add TLS_VERSION option for https connections
Add an option to specify the minimum allowed TLS version for https connections. Issue: #25701
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/file.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index 4acdc7e..dfbd483 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -1097,6 +1097,11 @@ Transfer
is not specified, the value of the :variable:`CMAKE_NETRC_FILE` variable
will be used instead.
+ ``TLS_VERSION <min>``
+ .. versionadded:: 3.30
+
+ Specify minimum TLS version for ``https://`` URLs.
+
``TLS_VERIFY <ON|OFF>``
Specify whether to verify the server certificate for ``https://`` URLs.
The default is to *not* verify. If this option is not specified, the