[gdal-dev] VSIS3 with Ceph S3

Even Rouault even.rouault at spatialys.com
Fri Oct 29 13:19:57 PDT 2021


Le 29/10/2021 à 21:15, Vladimir Sandoval a écrit :
> We have a Ceph S3 instance we are trying to use GDAL with.  It only 
> provides the access key and the secret access key - no tokens or the like.
> Have been unable to get gdal to work with various calls such as:
> gdalinfo --config AWS_ACCESS_KEY_ID 'ouraccesskey' --config 
> AWS_SECRET_ACCESS_KEY 'oursecretkey' --config AWS_VIRTUAL_HOSTING 
> FALSE 
> /vsis3/https://ceph-tst-01.us.com/test-imagery/COGS/BlueMarbleJune.tif 
> <https://ceph-tst-01.us.com/test-imagery/COGS/BlueMarbleJune.tif>

you need add --config AWS_S3_ENDPOINT ceph-tst-01.us.com and just use 
/vsis3/test-imagery/... as connection string

and trying that I also see that curl complains about an issue about the 
SSL certificate of cepth-test-01.us.com

You'll have to fix it on the server or add --config GDAL_HTTP_UNSAFESSL YES

Even

-- 

http://www.spatialys.com
My software is free, but my time generally not.



More information about the gdal-dev mailing list