curl-tls-version.rst 1.3 KB

1234567891011121314151617181920212223242526
  1. curl-tls-version
  2. ----------------
  3. * The :command:`file(DOWNLOAD)` and :command:`file(UPLOAD)` commands
  4. gained a ``TLS_VERSION <min>`` option to specify the minimum TLS
  5. version for connections to ``https://`` URLs.
  6. * The :variable:`CMAKE_TLS_VERSION` variable and :envvar:`CMAKE_TLS_VERSION`
  7. environment variable were added to specify a default minimum TLS version
  8. for connections to ``https://`` URLs by the :command:`file(DOWNLOAD)`
  9. and :command:`file(UPLOAD)` commands.
  10. * The :envvar:`CMAKE_TLS_VERIFY` environment variable was added as a fallback
  11. to the existing :variable:`CMAKE_TLS_VERIFY` variable. It specifies
  12. whether to verify the server certificate for ``https://`` URLs by default.
  13. * The :module:`ExternalProject` module's :command:`ExternalProject_Add`
  14. command gained a ``TLS_VERSION <min>`` option, and support for the
  15. :variable:`CMAKE_TLS_VERSION` variable and :envvar:`CMAKE_TLS_VERSION`
  16. environment variable, to specify the minimum TLS version for connections
  17. to ``https://`` URLs.
  18. * The :command:`ctest_submit` command and :option:`ctest -T Submit <ctest -T>`
  19. step gained ``TLSVersion`` and ``TLSVerify`` options to control negotiation
  20. with ``https://`` URLs. See the :variable:`CTEST_TLS_VERSION` and
  21. :variable:`CTEST_TLS_VERIFY` variables.