aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxbreak <xbreak@alphaware.se>2019-10-12 13:00:19 +0000
committerxbreak <xbreak@alphaware.se>2019-10-18 19:08:33 +0000
commit7c568d4c6e3291f01833aa9cf3779dfdcdaa4505 (patch)
treecd87ffebc0a55cd00030ea5a45efc07e395bd6e4
parent906d56a96b442d4dd8f924c1ce0d1eec0e214af3 (diff)
Downloader: Warn if no trusted CA file has been configured
-rw-r--r--src/libstore/download.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index cdf56e09d..e5f8556b7 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/download.cc
@@ -285,6 +285,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 {