Skip to content

vcpkg fails to download from binary cache over HTTPS with untrusted certificate #2041

Description

@Matus-p

Hello,

we use VCPKG_BINARY_SOURCES pointing to local https server with binary cache. The server has certificate issued by our internal CA.

We used to do CURL_CA_BUNDLE=/path/to/ca.pem vcpkg install ... but now we are getting warning: curl operation failed with error code 60 (SSL peer certificate or SSH remote key was not OK).

I think that this might be related to Use libcurl rather than curl command line #1906 because setting CURLOPT_CAINFO is missing in this function

void set_common_curl_easy_options(CurlEasyHandle& easy_handle, StringView url, const CurlHeaders& request_headers)

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions