forked from CCCHH/ansible-infra
keycloak(host): hopefully enable java4shell mitigation
Hopefully enable the java4shell mitigation for Keycloak by setting JAVA_OPTS_APPEND to "-XX:-UseBASE64Intrinsics". I wasn't able to verify the running options, but the container logs "Appending additional Java properties to JAVA_OPTS" when JAVA_OPTS_APPEND is set, so it should hopefully work. https://calif.io/java4shell/
This commit is contained in:
parent
7da7a7e723
commit
1b1e774a5e
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ services:
|
|||
KC_HOSTNAME_ADMIN: https://keycloak-admin.hamburg.ccc.de
|
||||
KC_PROXY_HEADERS: xforwarded
|
||||
KC_HTTP_ENABLED: true
|
||||
JAVA_OPTS_APPEND: "-XX:-UseBASE64Intrinsics"
|
||||
ports:
|
||||
- "8080:8080"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue