Skip to content

Commit

Permalink
Mount keycloak ca cert
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed Dec 1, 2023
1 parent bd90c3c commit dd01985
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions deps/rabbitmq_management/selenium/bin/components/keycloak
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ start_keycloak() {
--env KEYCLOAK_ADMIN_PASSWORD=admin \
--mount type=bind,source=${MOUNT_KEYCLOAK_CONF_DIR},target=/opt/keycloak/data/import/ \
${KEYCLOAK_DOCKER_IMAGE} start-dev --import-realm \
--https-certificate-file=/opt/keycloak/data/import/server_localhost_certificate.pem \
--https-certificate-key-file=/opt/keycloak/data/import/server_localhost_key.pem
--https-certificate-file=/opt/keycloak/data/import/server_keycloak_certificate.pem \
--https-certificate-key-file=/opt/keycloak/data/import/server_keycloak_key.pem

wait_for_oidc_endpoint keycloak $KEYCLOAK_URL
wait_for_oidc_endpoint keycloak $KEYCLOAK_URL $MOUNT_KEYCLOAK_CONF_DIR/ca_certificate.pem
end "Keycloak is ready"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export KEYCLOAK_URL=https://keycloak:8443/realms/test
export OAUTH_JKWS_URL="https://keycloak:8443/realms/test/protocol/openid-connect/certs"
export OAUTH_PROVIDER_CA_CERT=/config/ca_certificate.pem
export OAUTH_PROVIDER_CA_CERT=/config/oauth/keycloak/ca_certificate.pem

0 comments on commit dd01985

Please sign in to comment.