From e016869ffa43d70c03a4485e5d39ad56d0dfc035 Mon Sep 17 00:00:00 2001 From: Anton Patsev Date: Sat, 23 Nov 2024 12:05:42 +0600 Subject: [PATCH] feat: Add support for custom root certificates in Java keystore --- api/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/Dockerfile b/api/Dockerfile index 6d3d271a7..1df4a46b9 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -10,14 +10,12 @@ RUN apk add --no-cache \ tzdata RUN addgroup -S kafkaui && adduser -S kafkaui -G kafkaui +# creating folder for dynamic config usage (certificates uploads, etc) RUN mkdir -p /etc/kafkaui/certs - RUN for cert in /etc/kafkaui/certs/*.crt; do \ keytool -import -noprompt -trustcacerts -alias $(basename $cert .crt) -file $cert -keystore $JAVA_HOME/lib/security/cacerts -storepass changeit; \ done -# creating folder for dynamic config usage (certificates uploads, etc) -RUN mkdir /etc/kafkaui/ RUN chown kafkaui /etc/kafkaui USER kafkaui