1CMAKE_TLS_VERIFY
2----------------
3
4Specify the default value for the :command:`file(DOWNLOAD)` and
5:command:`file(UPLOAD)` commands' ``TLS_VERIFY`` options.
6If not set, the default is *off*.
7
8This variable is also used by the :module:`ExternalProject` and
9:module:`FetchContent` modules for internal calls to :command:`file(DOWNLOAD)`.
10
11TLS verification can help provide confidence that one is connecting
12to the desired server.  When downloading known content, one should
13also use file hashes to verify it.
14
15.. code-block:: cmake
16
17  set(CMAKE_TLS_VERIFY TRUE)
18