The ticket for supporting self-signed certificates can be found here [1]. If you switch the TLS backend to OpenSSL it may respect the SSL_CERT_FILE environment variable, but I'm not very familiar with the particulars of that library. This would require customising the Rust build, however, which may not be possible if calling from python.
Kind Regards, Raphael [1]: https://github.com/apache/arrow-rs/issues/5034 On 25 January 2024 08:44:45 GMT, elveshoern32 <elveshoer...@zohomail.eu.INVALID> wrote: >Since my question remained unanswered on the user list, I dare to ask again on >the dev list: > > >While experimenting with polars [1] (which is based on arrow-rs) I found that >it's not possible to read a single file from our on-prem S3-compatible storage. > >Any attempts result in SSL error messages: > > > >error trying to connect: invalid peer certificate: UnknownIssuer > > > >Such SSL errors are well-known to us and usually get fixed by setting the >environment variable SSL_CERT_FILE (or something similar) pointing to our >company's certstore. > >polars seems to ignore that env var. > >Now it's unclear to me whether this is an issue of polars or arrow-rs (or >anything else). > > > >For more details see [2]. > > > >[1] https://pola.rs/ > >[2] https://github.com/pola-rs/polars/issues/13741