Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CURL error #19

Closed
samsammurphy opened this issue Jan 13, 2018 · 1 comment
Closed

CURL error #19

samsammurphy opened this issue Jan 13, 2018 · 1 comment

Comments

@samsammurphy
Copy link
Contributor

Hey Vincent,

I hit a CURL error (already fixed) but thought I should mention it here. This is for Linux Mint 18.1 Serena.

This worked

>>> from rio_tiler import landsat8
>>> bounds = landsat8.bounds('LC08_L1TP_016037_20170813_20170814_01_RT')
# {'sceneid': 'LC08_L1TP_016037_20170813_20170814_01_RT', 'bounds': [-81.30836, 32.10539, -78.82045, 34.22818]}

However getting metadata and tile both required curl (it seems), I hit this error:

rasterio._err.CPLE_HttpResponseError: CURL error: error setting certificate verify locations:   CAfile: /etc/pki/tls/certs/ca-bundle.crt   CApath: none

I made sure that I had the ca-certificates package

apt-get install ca-certificates

(the latest version was already installed). Then I fixed the CURL certificates path in .bashrc

export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt

Everything now seems to work fine =D !

It was a bit weird (for me) that curl was looking in the wrong place (i.e. /etc/pki/tls/certs/ca-bundle.crt), not sure how to proceed (e.g. note in docs, fix in code, ignore)?

@vincentsarago
Copy link
Member

Gonna close this issue because it's not related to rio-tiler itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants