Skip to content

Disable SSL peer validation #166

Open

Description

@edwinpjacques

There should be a way to disable SSL verification to authenticate with bearer tokens.

Something like this would do:

// set a non-existing file for the CA file, should allow access anyway
conn->SetCAInfoFilePath("non-existent file");
conn->SetVerifyPeer(false);
RestClient::Response res = conn->get("/get");

EXPECT_EQ(200, res.code);

Activity

  1. montdidier commented on Jul 16, 2025

    @montdidier
    Contributor

    @mrtazz I think this one can be closed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions