File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -297,11 +297,12 @@ function run_tests {
297297 URL=' https://icdc.cen.uni-hamburg.de/thredds/dodsC/ftpthredds/hamtide/m2.hamtide11a.nc'
298298 if [ -z " $IS_MACOS " ]; then # only needed for Linux
299299 # these should work, but don't
300- # echo "HTTP.SSL.CAINFO=/etc/ssl/certs/ca-certificates.crt" > .ncrc
300+ # echo "HTTP.SSL.CAINFO=/etc/ssl/certs/ca-certificates.crt" > $HOME/ .ncrc
301301 # export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
302+ echo " cacert=/etc/ssl/certs/ca-certificates.crt" > $HOME /.curlrc
302303 # this works
303- mkdir -p /etc/pki/tls/certs
304- ln /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
304+ # mkdir -p /etc/pki/tls/certs
305+ ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
305306 fi
306307 python -c " from netCDF4 import Dataset; nc=Dataset(\" ${URL} \" ); print(nc)"
307308}
You can’t perform that action at this time.
0 commit comments