Skip to content

Disable SSL peer validation #166

Open
@edwinpjacques

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);

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