You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
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);
The text was updated successfully, but these errors were encountered: