You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2024/09/18 14:43:39 UTC
Re: [I] [Python] Cannot read data if endpoint is s3 on a "secure" Minio server [arrow]
pitrou commented on issue #40754:
URL: https://github.com/apache/arrow/issues/40754#issuecomment-2358672097
For now you can set the `SSL_CERT_FILE` environment variable from the parent process. For example:
```console
$ SSL_CERT_FILE=/tmp/cafile.pem python -c "import ssl; print(ssl.get_default_verify_paths())"
DefaultVerifyPaths(cafile='/tmp/cafile.pem', capath='/home/antoine/mambaforge/envs/pyarrow/ssl/certs', openssl_cafile_env='SSL_CERT_FILE', openssl_cafile='/home/antoine/mambaforge/envs/pyarrow/ssl/cert.pem', openssl_capath_env='SSL_CERT_DIR', openssl_capath='/home/antoine/mambaforge/envs/pyarrow/ssl/certs')
```
In the future it would be better to expose the facility directly in PyArrow. It's already partly there, but adding API functions would be nice:
https://github.com/apache/arrow/blob/1c1f7f359d61b59e446b0a47e0279728551ed89f/python/pyarrow/_fs.pyx#L36-L45
cc @jorisvandenbossche @danepitkin
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org