Globally disable https keycloak

前端 未结 2 1364
离开以前
离开以前 2020-12-07 01:37

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\":\"no

相关标签:
2条回答
  • 2020-12-07 02:17

    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

    0 讨论(0)
  • 2020-12-07 02:31

    I was run de Keycloak admin command to apply sslRequired=NONE.

    $ docker exec -it CONTAINER-ID bash
    $ cd keycloak/bin/
    -- Run authenticate
    $ ./kcadm.sh config credentials --server http://localhost:8080/auth --realm master --user admin
    -- Apply sslRequired to none
    $ ./kcadm.sh update realms/master -s sslRequired=NONE
    

    If you don't know user and/ou password I recomend run:

    $ ./add-user-keycloak.sh --server http://localhost:8080/admin --realm master --user admin --password YOUR-PASSWORD
    
    0 讨论(0)
提交回复
热议问题