Search code examples
sslhttpskeycloak

Globally disable https keycloak


The deployment is on AWS and I do not want to tunnel to the box and open a browser to disable it.

There seems to exist a configuration: "ssl-required":"none" that can be placed in the keycloak-server.json file, but I'm not sure under which object. I've tried under "realm" and by itself with no luck.

I do not want to disable it at the adapter level, it needs to be globally, so where does the "ssl-required":"none" go, or how can ssh/https be disabled globally?

(Also, I understand this is not recommended in production.)


Solution

  • In the "master" realm, over login tab. Change 'Require SSL' property to none.

    If you can not access locally to keycloak and it is configured with a database for instance Postgres, then execute the following SQL sentence.

    update REALM set ssl_required = 'NONE' where id = 'master';
    

    It is necessary to restart keycloak