<html><body><div><div>Hi all,</div><div><br></div><div>I want to use ${...} enclosure in standalone.xml like the following example:</div><div><br></div><div><subsystem xmlns="urn:jboss:domain:keycloak:1.0"></div><div> <secure-deployment name="app.war"></div><div> <realm>xxx</realm></div><div> <resource>xxx</resource></div><div> <realm-public-key>MIGfMA0GCSqGS</realm-public-key></div><div> <auth-server-url>https://localhost:8443/auth</auth-server-url></div><div> <truststore>${jboss.server.config.dir}../../certs/cert.jks</truststore></div><div> <truststore-password>password</truststore-password></div><div> <ssl-required>ALL</ssl-required></div><div> <credential name="secret">6e12d2db</credential></div><div> </secure-deployment></div><div></subsystem></div></div><div><br></div><div>But I've got the following error:</div><div><div>Caused by: java.lang.RuntimeException: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token</div><div> at [Source: java.io.ByteArrayInputStream@27312e38; line: 1, column: 344] (through reference chain: org.keycloak.representations.adapters.config.AdapterConfig["truststore"])</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.keycloak.adapters.KeycloakDeploymentBuilder.loadAdapterConfig(KeycloakDeploymentBuilder.java:102)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.keycloak.adapters.KeycloakDeploymentBuilder.build(KeycloakDeploymentBuilder.java:91)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.keycloak.adapters.undertow.KeycloakServletExtension.handleDeployment(KeycloakServletExtension.java:135)</div></div><div><br></div><div>Does anyone know how to fix this?</div><div><br></div><div><span style="line-height: 1.5;">Thank you for your help!</span></div><div>Michael</div><div><br></div></body></html>