Closed jamesacris closed 7 months ago
Hi @jamesacris,
As you are mounting custom configuration files to the docker image, I do not know if there is any missing configuration there. I suggest you follow this section of the README to check if the deployment works as expected
https://github.com/bitnami/containers/tree/main/bitnami/kafka#security
If that's the case, you can compare the configuration files between this deployment and the one you have. As an alternative, you can take look at the Kafka's documentation and forums to know if there is any missing configuration parameter in your conf files.
Thanks
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Name and Version
bitnami/kafka:3.6
What architecture are you using?
amd64
What steps will reproduce the bug?
Using this
docker-compose.yml
:which uses the following
server.properties
:The producer and consumer properties are set in
internal_client.properties
:In this case
keystore.pem
contains the server certificate and private key. This was signed by my organisation's CA, the trust chain for which is present inCA.pem
.What is the expected behavior?
Docker container starts up ok, and I can use
kafka-console-producer.sh
andkafka-console-consumer.sh
inside the container with the above producer.properties and consumer.properties to interact with topics on the command line.What do you see instead?
The container starts up ok. When I try to run
kafka-console-producer.sh
I get an error:Accompanied by errors in the container logs:
Which doesn't tell me the root cause of the problem, like a problem with my certificates, or my configuration, only that the SSL handshake failed.
Additional information
If I run a connection test with
openssl s_client -cert keystore.pem -CAfile CA.pem -debug -connect localhost:9092
, I get the following in the response, as well as the server certificate and other outputs:The full container logs are as follows: