slingdata-io / sling-cli

Sling is a CLI tool that extracts data from a source storage/database and loads it in a target storage/database.
https://docs.slingdata.io
GNU General Public License v3.0
446 stars 34 forks source link

Add TLS Config for Clickhouse #420

Open flarco opened 1 month ago

flarco commented 1 month ago

Discussed in https://github.com/slingdata-io/sling-cli/discussions/419

Originally posted by **igrpon** October 24, 2024 How could I setup sling connection to clickhouse with SSL and server certificate. Currently I have YAML config like this: ``` connections: DWH_CH: type: clickhouse host: host.net port: 8443 database: prod-01 user: root password: ********** http_url: https://root@host.net:8443 ``` But I got the following error: ``` fatal: ~ could not connect to database clickhouse [dsn parse]: https without TLS ```