Skip to content

Commit

Permalink
Add curlpp::Options::SslVerifyHost(0L) for ignore_cert_check flag (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
TorrentialFire authored Oct 6, 2023
1 parent 1c99483 commit 0e9183f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http.cc
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ minio::http::Response minio::http::Request::execute() {
if (debug) request.setOpt(new curlpp::Options::Verbose(true));
if (ignore_cert_check) {
request.setOpt(new curlpp::Options::SslVerifyPeer(false));
request.setOpt(new curlpp::Options::SslVerifyHost(0L));
}

if (url.https) {
Expand Down

0 comments on commit 0e9183f

Please sign in to comment.