config error when using domain mode (#905)

change keystore-relative-to=jboss.server.config.dir to keystore-relative-to=jboss.domain.config.dir if using domain mode.
This commit is contained in:
shinny-libinbin 2021-11-10 15:32:01 +08:00 committed by GitHub
parent 71a78c0e80
commit 67db06dba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ If using domain mode, the commands should be executed in every host using the `/
[source]
----
$ /host=<host_name>/core-service=management/security-realm=UndertowRealm/server-identity=ssl:add(keystore-path=keycloak.jks, keystore-relative-to=jboss.server.config.dir, keystore-password=secret)
$ /host=<host_name>/core-service=management/security-realm=UndertowRealm/server-identity=ssl:add(keystore-path=keycloak.jks, keystore-relative-to=jboss.domain.config.dir, keystore-password=secret)
----
In the standalone or host configuration file, the `security-realms` element should look like this: