Hello,

I have compiled cmake on windows7 64-bit using visual studio 2005 and using openssl so I could download from my server using HTTPS with the "file(DOWNLOAD ...)" command. It returns an error code 60 about the certificate not being ok. We have a valid certificate for the server so it should not be a problem. When I do this with my cygwin "curl.exe" tool I can download the file. However, when I run the "libcurl.exe" tool, which is from the cmake compilation, then it does not work either, here is the output:

* About to connect() to git.traficon.be port 443 (#0)
*   Trying 172.16.32.230... * connected
* Connected to git.traficon.be (172.16.32.230) port 443 (#0)
* libcurl is now using a weak random seed!
* SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify faile
d
* Closing connection #0
* peer certificate cannot be authenticated with known CA certificates
Error fetching: https://git.traficon.be/fat?p=Fat.git

Any idea about this? I understood that you need a curl-ca-bundle.crt file to be located next to the "curl.exe" command, and curl.exe works then with HTTPS peer verification. However, the same trick with the "libcurl.exe" does not work, and with "cmake.exe" also doesn't work. So my question is: where does cmcurl read the certificates?

Thanks,
Best regards,
Tom,

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to