MantisBT - CMake |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012946 | CMake | CMake | public | 2012-02-08 13:23 | 2012-09-03 16:01 |
|
| Reporter | Artur Kedzierski | |
| Assigned To | Brad King | |
| Priority | high | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | CMake 2.8.7 | |
| Target Version | CMake 2.8.8 | Fixed in Version | CMake 2.8.8 | |
|
| Summary | 0012946: 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. |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | 16b1a6e4+0001-Add-CURL_CA_BUNDLE-option-for-SSL-support-12946.patch (1,072) 2012-02-09 09:12 https://public.kitware.com/Bug/file/4211/16b1a6e4%2B0001-Add-CURL_CA_BUNDLE-option-for-SSL-support-12946.patch |
|
| 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 |
|
Notes |
|
|
(0028537)
|
|
Brad King
|
|
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
|
|
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
|
|
2012-02-09 14:32
|
|
|
|
|
(0030861)
|
|
David Cole
|
|
2012-09-03 16:01
|
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|