-
How could I setup sling connection to clickhouse with SSL and server certificate. Currently I have YAML config like this:
But I got the following error:
|
Beta Was this translation helpful? Give feedback.
Answered by
flarco
Oct 24, 2024
Replies: 1 comment 4 replies
-
Can you try adding query param If you need to specify the certificate, sling doesn't accept it at the moment, need to add the functionality for a future version. See README in https://github.com/ClickHouse/clickhouse-go?tab=readme-ov-file#dsn, which is the driver that sling uses. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
igrpon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you try adding query param
secure=true
in yourhttp_url
? Also, you can useskip_verify=true
if network is trusted.If you need to specify the certificate, sling doesn't accept it at the moment, need to add the functionality for a future version.
See README in https://github.com/ClickHouse/clickhouse-go?tab=readme-ov-file#dsn, which is the driver that sling uses.