sfu-db / connector-x

Fastest library to load data from DB to DataFrames in Rust and Python
https://sfu-db.github.io/connector-x
MIT License
1.85k stars 145 forks source link

How to use self signed cert with trino connection #643

Open EnguerranDev opened 3 weeks ago

EnguerranDev commented 3 weeks ago

Trino do not accept basic authentication using http.

Using https it requires tls/ssl cert, the trino-python library circumvent this by using verify=false.

Is there a way to pass the verify=false as a parameter in the connection string or any other way to connect as the current documentation propose trino+https with the username and password in the connection string; this couldn't work.

Thanks a lot guys!

RosenV95 commented 3 weeks ago

Seconding for this, dealing with the same issue atm.