Hello, I'm trying to get CMake to talk to an SSL server using a self-signed certificate. It works just fine with downloads. The certificate path appears in the LOG:
successfully set certificate verify locations: CAfile: /path/to/my/certificate.pem CApath: /etc/ssl/certs and the TLS handshake succeeds. However, it doesn't seem to work with UPLOAD (note CAfile is 'none'): successfully set certificate verify locations: CAfile: none CApath: /etc/ssl/certs SSLv3, TLS handshake, Client hello (1): [512 bytes data] SSLv3, TLS handshake, Server hello (2): [66 bytes data] SSLv3, TLS handshake, CERT (11): [5986 bytes data] SSLv3, TLS alert, Server hello (2): [2 bytes data] SSL certificate problem: self signed certificate in certificate chain Neither setting CMAKE_TLS_CAINFO to point to the certificate, nor adding a TLS_CAINFO argument work. Is there anything I'm missing? I'm using CMake version 3.4.1. Best regards, -- DoubleF -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake