aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/s3-binary-cache-store.cc
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2017-03-06 14:30:35 -0500
committerShea Levy <shea@shealevy.com>2017-03-06 14:30:35 -0500
commit3cc18d3753af79946ba7c21ccdc49a6f58642108 (patch)
tree659e5e155b94a0981d724d395d3fc7b0f306ced5 /src/libstore/s3-binary-cache-store.cc
parent1cf480110879ffc8aee94b4b75999da405b71d7c (diff)
Properly set the caFile for aws-sdk-cpp s3
Diffstat (limited to 'src/libstore/s3-binary-cache-store.cc')
-rw-r--r--src/libstore/s3-binary-cache-store.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc
index 041c68c68..800380c62 100644
--- a/src/libstore/s3-binary-cache-store.cc
+++ b/src/libstore/s3-binary-cache-store.cc
@@ -77,6 +77,7 @@ ref<Aws::Client::ClientConfiguration> S3Helper::makeConfig()
res->region = Aws::Region::US_EAST_1; // FIXME: make configurable
res->requestTimeoutMs = 600 * 1000;
res->retryStrategy = std::make_shared<RetryStrategy>();
+ res->caFile = settings.caFile;
return res;
}