Hi, On Wed, 28 Feb 2024 at 09:51, Michael Otto <michael.o...@data-experts.de> wrote:
> Under all distributions there were problems with the certificates when > using ogrinfo. > > ERROR 1: error setting certificate file: /etc/ssl/certs/ca-certificates.crt > ERROR 1: Error returned by server : error setting certificate file: > /etc/ssl/certs/ca-certificates.crt (77) > > It looks like gdal is looking for the certificates in a place that does > not exist on these systems. > Is this possibly because I built GDAL under Linux Mint (Ubuntu) and now > want to run it on a "completely different" system? Yes. Portability isn't just code. :-) It's Curl (and OpenSSL), not GDAL. Curl has a set of build-time options, and also some runtime options ($CURL_CA_BUNDLE) wrt locating the CA certificate bundle. You could ship your own CA certificate bundle and set CURL_CA_BUNDLE like you set the GDAL_DATA path, or set it per-system, or compile curl to look in a particular place by default. Rob :)
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev