[26.2.4] http-enabled setting not used

Hello,

I have set the http-enabled option to true in the config file, but keycloak still won’t start.
Only the hint appears that the option should be set.
Call:

kc.sh --config-file=“/etc/keycloak/config” start --optimized --verbose
Key material not provided to setup HTTPS. Please configure your keys/certificates, or if HTTPS access is not needed see the http-enabled option. If you meant to start the server in development mode, see the start-dev command.

/etc/keycloak/config:

http-enabled=true
http-host=[::1]
http-port=8080

called it with strace, will only show, that the file will be called.

Does anyone how to get it in debug mode, to see which config are real used?

As you use the --optimized flag, did you run kc.sh build ... after changing your config?

Yes I have it the “build” process before.

I have do some more tests. Using an symlink will work, so that kc can open the file as conf/keycloak.conf. But set --config-file will result in that, that the file was opened (seeing via strace) but the content not used.

I guess that is actually intended ( build populates conf/keycloak.conf, that is used exclusively in optimized mode)