Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows the Kafka client to be configured using the TLS registry #41503

Closed
cescoffier opened this issue Jun 27, 2024 · 1 comment · Fixed by #42134
Closed

Allows the Kafka client to be configured using the TLS registry #41503

cescoffier opened this issue Jun 27, 2024 · 1 comment · Fixed by #42134

Comments

@cescoffier
Copy link
Member

Description

Allows the Kafka client to be configured with the TLS registry (for the TLS aspect of it).

Basically, when kafka.tls-configuration-name is set, we need to locate the TLS configuration from the registry and set:

security.protocol=SSL
ssl.truststore.location=/var/private/ssl/kafka.client.truststore.jks  
ssl.truststore.password=test1234. # Trust store password
ssl.keystore.location=/var/private/ssl/kafka.client.keystore.jks  
ssl.keystore.password=test1234 # Key store password
ssl.key.password=test1234 # Alias password

Unfortunately, the KAfka configuration only accepts files. This means we would need to extract these files from the configuration and cannot use the already processed KeyStore instances.

Implementation ideas

No response

Copy link

quarkus-bot bot commented Jun 27, 2024

/cc @alesj (kafka), @ozangunalp (kafka), @radcortez (config)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

2 participants