diff --git a/es-core/src/HttpReq.cpp b/es-core/src/HttpReq.cpp index e2615b2f1..6b698a65e 100644 --- a/es-core/src/HttpReq.cpp +++ b/es-core/src/HttpReq.cpp @@ -61,10 +61,7 @@ HttpReq::HttpReq(const std::string& url) : mStatus(REQ_IN_PROGRESS), mHandle(nul // Mozilla project). There is a possibility to use the OS provided Schannel certificates // but I haven't been able to get this to work and it also seems to be problematic on // older Windows versions. - // For NetBSD 9.1 there is something wrong with the bundled Mozilla certificates, - // requiring us to bundle our own certificates. Maybe this will be resolved in future - // NetBSD versions, in which case this code can be disabled. - #if defined(_WIN64) || defined(__NetBSD__) + #if defined(_WIN64) curl_easy_setopt(mHandle, CURLOPT_CAINFO, ResourceManager::getInstance()-> getResourcePath(":/certificates/curl-ca-bundle.crt").c_str()); #endif