Hi All, this document shows you how to set up a keycloak server in Linux.
Keycloak is an open-source software product to allow single sign-on with Identity Management and Access Management aimed at modern applications and services. As of March 2018, this JBoss community project is under the stewardship of Red Hat who uses it as the upstream project for their RH-SSO product.
* Java 1.8 running on the Linux server. If not installed check this link Setup Java 8 in Linux machine.
* Working Nginx server.
Step 1: Login to the Linux server
Step 2: Download Keycloak.
Step 3: Create a user to run keycloak application
Step 4: switch the user to newly created user
Step 5: Goto the keycloak home directory.
Step 6: Execute the below command to make the application run on the reverse proxy.
Step 7: Create a systemd configuration to start and stop keycloak using systemd.
Step 8: Reload the systemd daemon and start Keycloak.
Step 9: Create an admin user using below command line.
Configure Nginx reverse proxy
Step 1: Login to Nginx server and update in nginx.conf file.
Once it’s completed restart the Nginx server to take immediate effect. Now access the given URL to access the keycloak server and use the credentials which you created in Step 9.
© 2019, Techrunnr. All rights reserved.