-
Notifications
You must be signed in to change notification settings - Fork 859
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
Support for TLS/SSL and SASL-security broker connections #30
Conversation
When you say "combination of the following files (placed into the Kafka root directory):", I'm assuming you mean we have to place a keystore, truststore and a custom kafka.properties file in the root of Kafdrop (in its classpath)? |
@adivardhan only for the scenario when you're running from a Jar. In this case they need to be in the same directory as Kafdrop. When running in Docker or Kubernetes, you just need to pass in the base-64-encoded contents of these files. Where they reside is irrelevant. |
I'm fairly new to the security setup. |
And how to set the correct settings when using the jar file as a systemd instance? /kafdrop/target/kafka.properties
I currently get this error: EDIT:
|
Kafdrop supports TLS (SSL) and SASL connections for encryption and authentication. This can be configured by providing a combination of the following files (placed into the Kafka root directory):
kafka.truststore.jks
: specifying the certificate for authenticating brokers, if TLS is enabled.kafka.keystore.jks
: specifying the private key to authenticate the client to the broker, if mutual TLS authentication is required.kafka.properties
: specifying the necessary configuration, including key/truststore passwords, cipher suites, enabled TLS protocol versions, username/password pairs, etc. When supplying the truststore and/or keystore files, thessl.truststore.location
andssl.keystore.location
properties will be assigned automatically.Using Docker
The three files above can be supplied to a Docker instance in base-64-encoded form via environment variables:
Using Helm
Like in the Docker example, supply the files in base-64 form:
Closes #28