Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,103
    • Issues 4,103
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Issues
  • #24147
Closed
Open
Issue created Nov 09, 2022 by Brad King@brad.kingOwner

file(DOWNLOAD): 3.25.0-rc4 fails https verification on Windows

As reported on discourse, the code

set(CMAKE_TLS_VERIFY true)

file(REMOVE ${CMAKE_CURRENT_LIST_DIR}/cmake-3.24.3-SHA-256.txt)
file(DOWNLOAD https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-SHA-256.txt ${CMAKE_CURRENT_LIST_DIR}/cmake-3.24.3-SHA-256.txt STATUS ret LOG log)

message(STATUS "ret: ${ret}
${log}")

fails to download using CMake 3.25.0-rc4. It works with 3.24. Differences in the output include:

1c1
< -- ret: 0;"No error"
---
> -- ret: 56;"Failure when receiving data from the peer"
20c20
< user-agent: curl/7.83.1
---
> user-agent: curl/7.86.0
22a23,28
> schannel: remote party requests renegotiation
> schannel: renegotiating SSL/TLS connection
> schannel: SSL/TLS connection renegotiated
> schannel: remote party requests renegotiation
> schannel: renegotiating SSL/TLS connection
> schannel: SSL/TLS connection renegotiated
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking