Hi, With GDAL 2.4.2 from OSGeo4W I had to bypass the certificate check to avoid error "ERROR 1: SSL certificate problem: unable to get local issuer certificate".
This gives data: ogrinfo GEOJSON:https://france-geojson.gregoiredavid.fr/repo/regions.geojson -al -so --config GDAL_HTTP_UNSAFESSL YES --debug on With GDAL 3.0.1dev the certificate was accepted without bypass. I don't know what has been fixed but it must be something certificate related. -Jukka Rahkonen- Blaise de Carné wrote > Hello there ! > > I've got a strange behaviour with gdal 2.4.2 : > >> ogrinfo https://france-geojson.gregoiredavid.fr/repo/regions.geojson >> INFO: Open of ` > https://france-geojson.gregoiredavid.fr/repo/regions.geojson' > using driver `GeoJSON' successful. > > Right, that's ok. But now : > >> ogrinfo GeoJSON: > https://france-geojson.gregoiredavid.fr/repo/regions.geojson >> FAILURE: > Unable to open datasource `GeoJSON: > https://france-geojson.gregoiredavid.fr/repo/regions.geojson' with the > following drivers [...] > > Expected : same result, as with gdal 2.4.0 > > --debug ON give me : > > GNM: GNMRegisterAllInternal > GNM: RegisterGNMFile > GNM: RegisterGNMdatabase > HTTP: Fetch(https://france-geojson.gregoiredavid.fr/repo/regions.geojson) > HTTP: libcurl/7.52.1 GnuTLS/3.6.9 zlib/1.2.8 libidn2/2.2.0 libpsl/0.17.0 > (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3 > HTTP: These HTTP headers were set: Accept: text/plain, application/json > HTTP: Fetch(https://france-geojson.gregoiredavid.fr/repo/regions.geojson) > HTTP: These HTTP headers were set: Accept: text/plain, application/json > ERROR 6: Update from remote service not supported > FAILURE: > Unable to open datasource `GeoJSON: > https://france-geojson.gregoiredavid.fr/repo/regions.geojson' with the > following drivers. > > Have a nice day ! > Blaise > > > > > > > > -- > > _______________________________________________ > gdal-dev mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/gdal-dev -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
