Skip to content

Commit 83a4fd7

Browse files
author
Jeff Whitaker
committed
try with with-ca-bundle
1 parent 91d4243 commit 83a4fd7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,14 @@ function build_curl {
4545
if [ -e curl-stamp ]; then return; fi
4646
local flags="--prefix=$BUILD_PREFIX"
4747
if [ -n "$IS_MACOS" ]; then
48-
flags="$flags --with-darwinssl"
48+
flags="$flags --with-darwinssl --with-ca-bundle=${BUILD_PREFIX}/ssl/cacert.pem"
4949
else # manylinux
5050
flags="$flags --with-ssl"
5151
# yum_install perl-IPC-Cmd
5252
# yum_install perl-Pod-Html
53+
wget https://curl.se/ca/cacert.pem
54+
mkdir -p ${BUILD_PREFIX}/ssl
55+
mv cacert.pem ${BUILD_PREFIX}/ssl
5356
build_openssl
5457
fi
5558
flags="$flags --without-zstd"

0 commit comments

Comments
 (0)