File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -300,10 +300,12 @@ 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/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
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
307+ sudo mkdir -p /etc/pki/tls/certs
308+ cp /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
307309 python -c " from netCDF4 import Dataset; nc=Dataset(\" ${URL} \" ); print(nc)"
308310 # fi
309311}
You can’t perform that action at this time.
0 commit comments