[gdal-dev] CURL error - SSL certificate problem

Pedro VenĂ¢ncio pedrongvenancio at gmail.com
Mon Sep 9 09:37:05 PDT 2019


Hi,

I'm trying to access Sentinel-2 data in Google Cloud Storage in QGIS, but
I'm getting a SSL certificate problem.

gdalinfo says:

gdalinfo /vsicurl/
https://storage.cloud.google.com/gcp-public-data-sentinel-2/L2/tiles/29/T/PF/S2B_MSIL2A_20190907T112119_N0213_R037_T29TPF_20190907T144322.SAFE/GRANULE/L2A_T29TPF_A013076_20190907T112853/IMG_DATA/R10m/T29TPF_20190907T112119_B02_10m.jp2

ERROR 11: CURL error: SSL certificate problem: unable to get local issuer
certificate
gdalinfo failed - unable to open '/vsicurl/
https://storage.cloud.google.com/gcp-public-data-sentinel-2/L2/tiles/29/T/PF/S2B_MSIL2A_20190907T112119_N0213_R037_T29TPF_20190907T144322.SAFE/GRANULE/L2A_T29TPF_A013076_20190907T112853/IMG_DATA/R10m/T29TPF_20190907T112119_B02_10m.jp2
'.

I'm using gdal from OSGeo4W in Windows:

gdalinfo --version
GDAL 2.4.1, released 2019/03/15

I'm almost sure that this was working some time ago.

Any hint about this issue?

Another question I've is about using /vsigs/ (Google Cloud Storage files).
For that, I need the bucket and the object key.

For Sentinel-2 data stored in Google Cloud Storage, I believe the bucket
name is gcp-public-data-sentinel-2, but I can't find anything about the
object key. What could be the key?

Thank you very much!

Best regards,
Pedro VenĂ¢ncio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190909/99a6e85b/attachment.html>


More information about the gdal-dev mailing list