Added proper certificate handling to static cURL. (#9733)
Austin S. Hemmelgarn committed
Aug 13, 2020 at 07:14 UTC
77714ecb5a9dce56c097a588e87f97980916a9a4
1 file changed
+3
-1
packaging/makeself/jobs/50-curl-7.60.0.install.sh
+3
-1
@@ -21,7 +21,9 @@ run ./configure \
21
--enable-http \
22
--enable-proxy \
23
--enable-ipv6 \
24
- --enable-cookies
24
+ --enable-cookies \
25
+ --with-ca-fallback \
26
+ --with-ca-bundle=/opt/netdata/etc/ssl/certs/ca-bundle.crt
27
28
# Curl autoconf does not honour the curl_LDFLAGS environment variable
29
run sed -i -e "s/curl_LDFLAGS =/curl_LDFLAGS = -all-static/" src/Makefile