From 9d523824f0b8e9a4d455f889b5ca745810dad4cb Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Sat, 6 May 2023 19:17:20 +0200 Subject: [PATCH] the ca-cert is now manually imported --- Containerfile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile.in b/Containerfile.in index ee4b436..8a420e0 100644 --- a/Containerfile.in +++ b/Containerfile.in @@ -29,6 +29,6 @@ ENV KEYCLOAK_ADMIN_PASSWORD="admin" EXPOSE 8080 COPY --chown=root:root tobie-ca.crt /etc/pki/ca-trust/source/anchors/tobie-ca.crt USER root -RUN update-ca-trust +RUN keytool -importcert -alias tobieca -cacerts -storepass changeit -noprompt -trustcacerts -file /etc/pki/ca-trust/source/anchors/tobie-ca.crt USER keycloak ENTRYPOINT ["kc.sh", "start", "--optimized", "--http-enabled", "true", "--proxy", "edge", "--log-console-format", "'%-5p [%c] (%t) %s%e%n'", "--hostname-strict-backchannel=true"]