You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarify JDBC SSL migration from sslmode to ssl_mode #3429
clientModule: the client (client-v2; with legacy: the v1 client)documentationImprovements or additions to documentationjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)
JDBC V2 uses ssl_mode for SSL/TLS verification, with the values DISABLED, TRUST, VERIFY_CA, and STRICT.
The v0.10.0 release notes state that JDBC accepts NONE and maps it to TRUST, while recommending migration to the new naming. However, the main JDBC documentation does not clearly explain the migration from the V1 sslmode property to JDBC V2 ssl_mode.
This is especially confusing because the current BigQuery-to-ClickHouse Dataflow guide still shows:
ssl=true&sslmode=NONE
Could the JDBC documentation add an SSL/TLS migration section that clarifies:
Whether JDBC V2 accepts the legacy sslmode property name in connection URLs.
The supported ssl_mode values and the default.
The confirmed JDBC compatibility mapping ssl_mode=NONE to ssl_mode=TRUST.
Recommended JDBC V2 URL examples, including whether ssl=true is needed when the URL already uses https.
That TRUST skips certificate and hostname verification and should be limited to controlled environments.
Recommendation: Keep open — docs update needed
The JDBC and Java client pages do not document ssl_mode, and jdbc-v2 rejects the V1 name sslmode. The reporter offers a docs PR: a maintainer decides whether to accept it.
Status on main: Reproduced on main — read the docs on main8480ca001, and ran jdbc-v2 against an HTTPS server with a self-signed certificate (ClickHouse 26.11.2.4): ssl=true&sslmode=NONE fails with ClientMisconfigurationException: Unknown and unmapped config properties: [sslmode]; ssl_mode=NONE and ssl_mode=TRUST connect.
Breaking change: No.
Duplicates / related: No others.
Analysis: In docs/clickhouse-docs/jdbc.mdx, the jdbc-v2 part has no SSL section; the only SSL table (sslmode, values strict and none) is in the v0.7 part (jdbc.mdx:1416-1436). client.mdx has no ssl_mode row in its SSL/Security table (client.mdx:202-210), and its migration table says that V1 SSL_MODE has no V2 replacement (client.mdx:1322). The values, the STRICT default, the none alias (JdbcConfiguration.java:407), and what TRUST skips are only in docs/features.md:65,77 and docs/releases/0_10_0.md:48. Item 4 is answered at jdbc.mdx:70. The Dataflow guide is in ClickHouse/clickhouse-docs (bigquery-to-clickhouse.md:39,146).
Automated triage by Polyglot AI. A maintainer makes the final decision.
clientModule: the client (client-v2; with legacy: the v1 client)documentationImprovements or additions to documentationjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)
Activity
polyglotAI-bot commentedon Nov 26, 2026
Recommendation: Keep open — docs update needed
The JDBC and Java client pages do not document
ssl_mode, and jdbc-v2 rejects the V1 namesslmode. The reporter offers a docs PR: a maintainer decides whether to accept it.main: Reproduced on main — read the docs onmain8480ca001, and ran jdbc-v2 against an HTTPS server with a self-signed certificate (ClickHouse 26.11.2.4):ssl=true&sslmode=NONEfails withClientMisconfigurationException: Unknown and unmapped config properties: [sslmode];ssl_mode=NONEandssl_mode=TRUSTconnect.Analysis: In
docs/clickhouse-docs/jdbc.mdx, the jdbc-v2 part has no SSL section; the only SSL table (sslmode, valuesstrictandnone) is in the v0.7 part (jdbc.mdx:1416-1436).client.mdxhas nossl_moderow in its SSL/Security table (client.mdx:202-210), and its migration table says that V1SSL_MODEhas no V2 replacement (client.mdx:1322). The values, theSTRICTdefault, thenonealias (JdbcConfiguration.java:407), and whatTRUSTskips are only indocs/features.md:65,77anddocs/releases/0_10_0.md:48. Item 4 is answered atjdbc.mdx:70. The Dataflow guide is in ClickHouse/clickhouse-docs (bigquery-to-clickhouse.md:39,146).Automated triage by Polyglot AI. A maintainer makes the final decision.