apache / arrow-adbc

Database connectivity API standard and libraries for Apache Arrow
https://arrow.apache.org/adbc/
Apache License 2.0
384 stars 97 forks source link

feat(csharp/src/Drivers/Apache/Spark): add option to ignore TLS/SSL certificate exceptions #2188

Closed birschick-bq closed 1 month ago

birschick-bq commented 1 month ago

Add connection property with TLS/SSL options.

Options allow ignoring of server certificate errors typically due to self-signed certificates and SSH tunneling.

Property Description Default
adbc.spark.tls_options Comma-separated list of TLS/SSL options. Each option indicates the TLS/SSL option when connecting to a Spark server.

Allowed values: allow_self_signed, allow_hostname_mismatch.

Option allow_self_signed allows certificate errors due to an unknown certificate authority, typically when using a self-signed certificate. Option allow_hostname_mismatch allow certificate errors due to a mismatch of the hostname. (e.g., when connecting through an SSH tunnel). Example adbc.spark.tls_options=allow_self_signed