Merge pull request #3141 from xbreak/nocafile
Downloader: Log configured CA file
This commit is contained in:
commit
425991883a
|
@ -289,6 +289,7 @@ struct CurlDownloader : public Downloader
|
|||
}
|
||||
|
||||
if (request.verifyTLS) {
|
||||
debug("verify TLS: Nix CA file = '%s'", settings.caFile);
|
||||
if (settings.caFile != "")
|
||||
curl_easy_setopt(req, CURLOPT_CAINFO, settings.caFile.c_str());
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue