- Running JBoss AS 7
- Registering JBoss AS 7 with NetBeans
- REST Service on JBoss 7 (using RESTEasy) - Part 1
- REST Service on JBoss 7 (using RESTEasy) - Part 2
- REST Service on JBoss 7 (using RESTEasy) - Part 3
- REST Service on JBoss 7 (using CXF) - Part 4
- Installing GoDaddy certificate in Wildfly/Keycloak
- Configuring and using Keycloak
I have used Keycloak in its very early stage ( when it is was in 2.x version). But now it has come a long way (at this time of writing it is in 21.x) In this article let's configure Keycloak behind Nginx. Here are the points to consider. If you want to configure Apache2 as a proxy server for your java application, please check this article . We are going to use a domain name other than localhost Anything other than localhost will require Keycloak to run in production mode which requires SSL configurations etc. Or it requires a proxy server. Lets begin. Requirements Keycloak distribution Ubuntu 22.04 server Configuring Keycloak 1. Download Keycloak from here . 2. Extract it using tar -xvzf keycloak-21.0.1.tar.gz 3. Create a script file called keycloak.sh with the following contents #!/bin/bash export KEYCLOAK_ADMIN=<admin-username-here> export KEYCLOAK_ADMIN_PASSWORD=<admin-password-here> nohup keycloak-21.0.0/bin/kc.sh start-dev --proxy edge --hos...
Comments
Post a Comment