Skip to content

Commit f321189

Browse files
author
Jeff Whitaker
committed
try setting CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
1 parent ce0f6e8 commit f321189

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ function run_tests {
300300
#if [ -n "$IS_MACOS" ]; then # for now only run on MacOS since linux fails
301301
URL='https://icdc.cen.uni-hamburg.de/thredds/dodsC/ftpthredds/hamtide/m2.hamtide11a.nc'
302302
export CURLOPT_VERBOSE=1
303-
ls -l /etc/ssl
304-
echo "HTTP.SSL.CAPATH=/etc/ssl/certs" > ~/.ncrc
305-
cat ~/.ncrc
303+
#echo "HTTP.SSL.CAPATH=/etc/ssl/certs" > ~/.ncrc
304+
#cat ~/.ncrc
305+
export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
306306
python -c "from netCDF4 import Dataset; nc=Dataset(\"${URL}\"); print(nc)"
307307
#fi
308308
}

0 commit comments

Comments
 (0)