Skip to content

Commit 8198b99

Browse files
committed
set HTTP.SSL.CAINFO
1 parent f321189 commit 8198b99

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

config.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,10 @@ 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-
#echo "HTTP.SSL.CAPATH=/etc/ssl/certs" > ~/.ncrc
304-
#cat ~/.ncrc
305-
export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
303+
ls -l /etc/ssl/certs
304+
echo "HTTP.SSL.CAINFO=/etc/ssl/certs/ca-certificates.crt" > ~/.ncrc
305+
cat ~/.ncrc
306+
#export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
306307
python -c "from netCDF4 import Dataset; nc=Dataset(\"${URL}\"); print(nc)"
307308
#fi
308309
}

0 commit comments

Comments
 (0)