Skip to content

Clarify JDBC SSL migration from sslmode to ssl_mode #3429

Backlog

Description

@prabhacloud

Documentation gap

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:

  1. Whether JDBC V2 accepts the legacy sslmode property name in connection URLs.
  2. The supported ssl_mode values and the default.
  3. The confirmed JDBC compatibility mapping ssl_mode=NONE to ssl_mode=TRUST.
  4. Recommended JDBC V2 URL examples, including whether ssl=true is needed when the URL already uses https.
  5. That TRUST skips certificate and hostname verification and should be limited to controlled environments.

References:

If this direction is useful, I can prepare a focused documentation update.

Activity

  1. polyglotAI-bot commented on Nov 26, 2026

    @polyglotAI-bot
    Collaborator

    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.

    • Category: Docs
    • Classification: impact: none · area: Docs & project (ssl_mode docs)
    • Status on main: Reproduced on main — read the docs on main 8480ca001, 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.

  2. added
    client
    documentation
    jdbc
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clientdocumentationjdbc

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions