CTEST_TLS_VERIFY — CMake 4.3.2 Documentation

# CTEST_TLS_VERIFY

Added in version 3.30.

Specify the CTest `TLSVerify` setting in a `ctest(1)` Dashboard Client script or in project `CMakeLists.txt` code before including the `CTest` module. The value is a boolean indicating whether to verify the server certificate when submitting to a dashboard via `https://` URLs.

If `CTEST_TLS_VERIFY` is not set, the `CMAKE_TLS_VERIFY` variable or `CMAKE_TLS_VERIFY` environment variable is used instead. If neither is set, the default is on.

Changed in version 3.31: The default is on. Previously, the default was off. Users may set the `CMAKE_TLS_VERIFY` environment variable to `0` to restore the old default.