File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function build_curl {
47
47
if [ -n " $IS_MACOS " ]; then
48
48
flags=" $flags --with-secure-transport"
49
49
else # manylinux
50
- flags=" $flags --with-openssl=${BUILD_PREFIX} --without-ca-bundle --without-ca-path "
50
+ flags=" $flags --with-openssl=${BUILD_PREFIX} "
51
51
# yum_install perl-IPC-Cmd # needed for openssl 3+
52
52
# yum_install perl-Pod-Html
53
53
build_openssl
@@ -292,12 +292,13 @@ function run_tests {
292
292
URL=' https://icdc.cen.uni-hamburg.de/thredds/dodsC/ftpthredds/hamtide/m2.hamtide11a.nc'
293
293
if [ -z " $IS_MACOS " ]; then # only needed for Linux
294
294
# these should work, but don't
295
- # echo "HTTP.SSL.CAINFO=/etc/ssl/certs/ca-certificates.crt" > $HOME/.ncrc
295
+ echo " HTTP.SSL.CAINFO=/etc/ssl/certs/ca-certificates.crt" > $HOME /.ncrc
296
+ echo " HTTP.SSL.CAPATH=/etc/ssl/certs" >> $HOME /.ncrc
296
297
# export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
297
- echo " cacert=/etc/ssl/certs/ca-certificates.crt" > $HOME /.curlrc
298
+ # echo "cacert=/etc/ssl/certs/ca-certificates.crt" > $HOME/.curlrc
298
299
# this works
299
- # mkdir -p /etc/pki/tls/certs
300
- # ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
300
+ mkdir -p /etc/pki/tls/certs
301
+ ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
301
302
fi
302
303
python -c " from netCDF4 import Dataset; nc=Dataset(\" ${URL} \" ); print(nc)"
303
304
}
You can’t perform that action at this time.
0 commit comments