[cmake-developers] [CMake 0012946]: Lack of ability to specify location of SSL CA bundle at compile time

Mantis Bug Tracker mantis at public.kitware.com
Wed Feb 8 13:23:55 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=12946 
====================================================================== 
Reported By:                Artur Kedzierski
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12946
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2012-02-08 13:23 EST
Last Modified:              2012-02-08 13:23 EST
====================================================================== 
Summary:                    Lack of ability to specify location of SSL CA bundle
at compile time
Description: 
Currently, 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 Reproduce: 
1. 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-08 13:23 Artur KedzierskiNew Issue                                    
======================================================================




More information about the cmake-developers mailing list