# curl-tls-version

- The `file(DOWNLOAD)` and `file(UPLOAD)` commands gained a `TLS_VERSION <min>` option to specify the minimum TLS version for connections to `https://` URLs.

- The `CMAKE_TLS_VERSION` variable and `CMAKE_TLS_VERSION` environment variable were added to specify a default minimum TLS version for connections to `https://` URLs by the `file(DOWNLOAD)` and `file(UPLOAD)` commands.

- The `ExternalProject` module's `ExternalProject_Add()` command gained a `TLS_VERSION <min>` option, and support for the `CMAKE_TLS_VERSION` variable and `CMAKE_TLS_VERSION` environment variable, to specify the minimum TLS version for connections to `https://` URLs.

- The `ctest_submit()` command and `ctest -T Submit` step gained `TLSVersion` and `TLSVerify` options to control negotiation with `https://` URLs. See the `CTEST_TLS_VERSION` and `CTEST_TLS_VERIFY` variables.