Skip to content

docs: tls configuration#223

Open
arekborucki wants to merge 4 commits into
ClickHouse:mainfrom
arekborucki:docs/tls-guide
Open

docs: tls configuration#223
arekborucki wants to merge 4 commits into
ClickHouse:mainfrom
arekborucki:docs/tls-guide

Conversation

@arekborucki

@arekborucki arekborucki commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Why

Right now, the Configuration guide only lists the TLS fields (spec.settings.tls: enabled, required, serverCertSecret, caBundle). It does not show how to actually turn TLS on from scratch: how to create a certificate, point the cluster at it, and connect a client over the secure ports.
This trips people up. The most common problem is the certificate's dnsNames: they have to match the headless Service the operator creates, or the client fails to connect with certificate verify failed.
This guide fills that gap and fits with the other task-based guides (Introduction, Configuration, Monitoring, Scaling).

What

Adds docs/guides/tls.mdx - an end-to-end guide for securing a cluster with TLS: issue a certificate with cert-manager (self-signed CA -> server cert), enable TLS on the cluster, and connect a client over the secure ports.
It explains what the operator does at each level:

On enabled: true: opens the secure ports 9440 (native TLS) and 8443 (HTTPS) alongside the existing ones, mounts the cert, and generates the openSSL block (verificationMode: relaxed, disableProtocols: sslv2,sslv3, preferServerCiphers: true).
On required: true: additionally drops the insecure ports 9000/8123 and switches the liveness probe to 9440.

It also covers Keeper encryption (secure port 2281, automatic TLS from the ClickHouse side once Keeper has it enabled) and a custom caBundle.

@GrigoryPervakov GrigoryPervakov changed the title Docs/tls guide docs: tls configuration Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant