Skip to content

Instantly share code, notes, and snippets.

@brenopolanski
Last active February 26, 2019 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brenopolanski/7ec7824ce861053c62c46470bda02bcd to your computer and use it in GitHub Desktop.
Save brenopolanski/7ec7824ce861053c62c46470bda02bcd to your computer and use it in GitHub Desktop.
Install Keycloak and disable HTTPS (for development mode)
  1. Download Keycloak Server: https://www.keycloak.org/downloads.html
  2. Create user via CLI. e.g: ./bin/add-user-keycloak.sh -u admin
  3. Disable HTTPS on H2 database:
java -cp modules/system/layers/base/com/h2database/h2/main/h2-1.4.193.jar org.h2.tools.Shell -url "jdbc:h2:./standalone/data/keycloak" -user sa -password sa -sql "update REALM set ssl_required='NONE' where id = 'master'"
  1. Run server. e.g: ./bin/standalone.sh -b 139.59.177.39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment