You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Sebastian Schulze <se...@alfatraining.de.INVALID> on 2025/11/05 09:29:52 UTC

Using the official Docker image with PEM certificates

Hey everyone.

I'm currently trying to get the official Docker images (docker.io/apache/kafka) to work with regular PEM certificates instead of JKS keystores. But since the official image comes with a rigid configure script [0], I cannot even get past the validation stage since it is either:

> org.apache.kafka.common.errors.InvalidConfigurationException: SSL key store password cannot be specified with PEM format, only key password may be specified

or

> or ()/etc/kafka/docker/configure: line 18: !1: unbound variable

So, is this even a supported use case or should I just override the configure script to use PEM certificates?

Best,
 Sebastian

[0] <https://github.com/apache/kafka/blob/trunk/docker/resources/common-scripts/configure>