Keycloak 17 & FileMaker: Installation & Configuration Tutorial Part 3: Preparing Keycloak 17

Installing Dependencies And Other Set Up

sudo apt install openjdk-11-jdk
wget -Vsudo apt install wget
sudo apt install zip
nano -Vsudo apt install nano

Downloading And Preparing Keycloak

sudo mkdir -p /opt/keycloak
sudo wget https://github.com/keycloak/keycloak/releases/download/17.0.0/keycloak-17.0.0.zip -P /opt/keycloak
sudo unzip /opt/keycloak/keycloak-17.0.0.zip -d /opt/keycloak
sudo rm /opt/keycloak/keycloak-17.0.0.zip
sudo groupadd -r keycloaksudo useradd -r -g keycloak -d /opt/keycloak -s /sbin/nologin keycloak
cd /optsudo chown -R keycloak: keycloaksudo chmod o+x /opt/keycloak/keycloak-17.0.0/bin/

Updating The Keycloak Configuration File

sudo nano /opt/keycloak/keycloak-17.0.0/conf/keycloak.conf
# Basic settings for running in production. Change accordingly before deploying the server.# Database# The database vendor.
db=mysql
# The username of the database user.
db-username=keycloak
# The password of the database user.
db-password=MYSQL_DATABASE_PASSWORD
# The full database JDBC URL. If not provided, a default URL is set based on the selected database vendor.
#db-url=jdbc:postgresql://localhost/keycloak
# Observability# If the server should expose metrics and healthcheck endpoints.
#metrics-enabled=true
# HTTP# The file path to a server certificate or certificate chain in PEM format.
https-certificate-file=/etc/letsencrypt/live/keycloak.mydomain.com/fullchain.pem
# The file path to a private key in PEM format.
https-certificate-key-file=/etc/letsencrypt/live/keycloak.mydomain.com/privkey.pem
# The proxy address forwarding mode if the server is behind a reverse proxy.
#proxy=reencrypt
# Do not attach route to cookies and rely on the session affinity capabilities from reverse proxy
#spi-sticky-session-encoder-infinispan-should-attach-route=false
# Hostname for the Keycloak server.
hostname=keycloak.mydomain.com:8443

Summary

--

--

--

FileMaker Developers; Keycloak Enthusiasts; Data Magicians

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Video Chat using Python

Front-End Development for an Open Source Government Site Redesign (Part 2)

Help! My C++ web app is not responding

Hammer For Mac goodies, made by Hammer Customers — Forge

Quick Summary

My Understanding: Memos on Xgboost

Go Mongo!— Part One ( The one with Basics)

Whatever You Do Don’t Call Me Differently Abled.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sounds Essential

Sounds Essential

FileMaker Developers; Keycloak Enthusiasts; Data Magicians

More from Medium

Keycloak 17 & FileMaker: Installation & Configuration Tutorial Part 1: Ubuntu & MySQL

Memcache Testing and Proxying

[ SDL2 — Part 7] Loading png files

Getting Java-11 docker images to run on mac m1 (arm64) with adoptium/temurin