conduktor.io ↗

ssl.protocol — Kafka Broker Configuration

The SSL protocol used to generate the SSLContext. The default is 'TLSv1.

Description

The SSL protocol used to generate the SSLContext. The default is 'TLSv1.3' when running with Java 11 or newer, 'TLSv1.2' otherwise. This value should be fine for most use cases. Allowed values in recent JVMs are 'TLSv1.2' and 'TLSv1.3'. 'TLS', 'TLSv1.1', 'SSL', 'SSLv2' and 'SSLv3' may be supported in older JVMs, but their usage is discouraged due to known security vulnerabilities. With the default value for this config and 'ssl.enabled.protocols', clients will downgrade to 'TLSv1.2' if the server does not support 'TLSv1.3'. If this config is set to 'TLSv1.2', clients will not use 'TLSv1.3' even if it is one of the values in ssl.enabled.protocols and the server only supports 'TLSv1.3'.

Default Values by Kafka Version

Kafka VersionDefault Value
0.9.0TLS
0.10.0TLS
0.10.1TLS
0.10.2TLS
0.11.0TLS
1.0TLS
1.1TLS
2.0TLS
2.1TLS
2.2TLS
2.3TLS
2.4TLS
2.5TLSv1.2
2.6TLSv1.2
2.7TLSv1.2
2.8TLSv1.2
3.0TLSv1.2
3.1TLSv1.3
3.2TLSv1.2
3.3TLSv1.3
3.4TLSv1.2
3.5TLSv1.3
3.6TLSv1.3
3.7TLSv1.3
3.8TLSv1.3
3.9TLSv1.2
4.0TLSv1.3
4.1TLSv1.3
4.2TLSv1.3
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.