Skip to content

Commit e016869

Browse files
committed
feat: Add support for custom root certificates in Java keystore
1 parent a581626 commit e016869

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

api/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@ RUN apk add --no-cache \
1010
tzdata
1111
RUN addgroup -S kafkaui && adduser -S kafkaui -G kafkaui
1212

13+
# creating folder for dynamic config usage (certificates uploads, etc)
1314
RUN mkdir -p /etc/kafkaui/certs
14-
1515
RUN for cert in /etc/kafkaui/certs/*.crt; do \
1616
keytool -import -noprompt -trustcacerts -alias $(basename $cert .crt) -file $cert -keystore $JAVA_HOME/lib/security/cacerts -storepass changeit; \
1717
done
1818

19-
# creating folder for dynamic config usage (certificates uploads, etc)
20-
RUN mkdir /etc/kafkaui/
2119
RUN chown kafkaui /etc/kafkaui
2220

2321
USER kafkaui

0 commit comments

Comments
 (0)