View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012946CMakeCMakepublic2012-02-08 13:232012-09-03 16:01
ReporterArtur Kedzierski 
Assigned ToBrad King 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.7 
Target VersionCMake 2.8.8Fixed in VersionCMake 2.8.8 
Summary0012946: Lack of ability to specify location of SSL CA bundle at compile time
DescriptionCurrently, there is no way of specifying location of SSL CA bundle at compile time. Source code has to be changed first. Addition of the following code to Utilities/cmcurl/CMakeLists.txt would fix the problem:

SET(CURL_CA_BUNDLE "" CACHE FILEPATH "Path to SSL CA Certificate Bundle")
MARK_AS_ADVANCED(CURL_CA_BUNDLE)
IF(CURL_CA_BUNDLE)
  ADD_DEFINITIONS(-DCURL_CA_BUNDLE="${CURL_CA_BUNDLE}")
ENDIF(CURL_CA_BUNDLE)
Steps To Reproduce1. Compile CMake with SSL support on Windows using built-in curl
2. Run CTest that submits to CDash

Step 2 will fail as it will not find SSL CA bundle to verify website's SSL certificate.
TagsNo tags attached.
Attached Filespatch file icon 16b1a6e4+0001-Add-CURL_CA_BUNDLE-option-for-SSL-support-12946.patch [^] (1,072 bytes) 2012-02-09 09:12 [Show Content]

 Relationships

  Notes
(0028537)
Brad King (manager)
2012-02-09 09:12

Thanks for the patch.

Please test 16b1a6e4+0001-Add-CURL_CA_BUNDLE-option-for-SSL-support-12946.patch
(0028548)
Artur Kedzierski (reporter)
2012-02-09 13:57

I am not able to test the patch directly as I am not allowed to copy files to/from internal network at work. That's where my development tools are. I would try it at home but I don't have any Windows machines and the issue affects Windows (on Linux, we recompile CMake with system Curl to get SSL support).

However, I tried the new lines of code in the location that your patch specifies and everything works. I am looking forward to having this feature in the future versions of CMake.
(0028550)
Brad King (manager)
2012-02-09 14:32

Applied, thanks!

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ed14435b [^]
(0030861)
David Cole (manager)
2012-09-03 16:01

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-02-08 13:23 Artur Kedzierski New Issue
2012-02-09 09:12 Brad King File Added: 16b1a6e4+0001-Add-CURL_CA_BUNDLE-option-for-SSL-support-12946.patch
2012-02-09 09:12 Brad King Assigned To => Brad King
2012-02-09 09:12 Brad King Status new => assigned
2012-02-09 09:12 Brad King Note Added: 0028537
2012-02-09 13:57 Artur Kedzierski Note Added: 0028548
2012-02-09 14:32 Brad King Note Added: 0028550
2012-02-09 14:32 Brad King Status assigned => resolved
2012-02-09 14:32 Brad King Fixed in Version => CMake 2.8.8
2012-02-09 14:32 Brad King Resolution open => fixed
2012-04-19 10:55 David Cole Target Version => CMake 2.8.8
2012-09-03 16:01 David Cole Note Added: 0030861
2012-09-03 16:01 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team