Keycloak 17 & FileMaker: Installation & Configuration Tutorial Part 4: Starting Keycloak 17 & Next Steps

Starting Keycloak

cd /opt/keycloak/keycloak-17.0.0sudo bin/kc.sh buildexport KEYCLOAK_ADMIN=usernameexport KEYCLOAK_ADMIN_PASSWORD=passwordsudo -E bin/kc.sh start
INFO  [org.keycloak.services] (main) KC-SERVICES0050: Initializing master realm
INFO [org.keycloak.services] (main) KC-SERVICES0009: Added user 'username' to realm 'master'
INFO [io.quarkus] (main) Keycloak 17.0.0 on JVM (powered by Quarkus 2.7.0.Final) started in 70.268s. Listening on: https://0.0.0.0:8443
INFO [io.quarkus] (main) Profile prod activated.
INFO [io.quarkus] (main) Installed features: [agroal, cdi...

Configuring Keycloak To Start Up On Boot

sudo nano /etc/systemd/system/keycloak.service
# /etc/systemd/system/keycloak.service
[Unit]
Description=Keycloak Server
After=syslog.target network.target mysql.service
Before=httpd.service
[Service]
User=keycloak
Group=keycloak
SuccessExitStatus=0 143
ExecStart=!/opt/keycloak/keycloak-17.0.0/bin/kc.sh start
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reloadsudo systemctl enable keycloaksudo shutdown -r now
sudo systemctl status keycloak

Port Configuration

sudo nano /opt/keycloak/keycloak-17.0.0/conf/keycloak.conf# Hostname for the Keycloak server.
hostname=keycloak.mydomain.com
# Use port 443
https-port=443
cd /opt/keycloak/keycloak-17.0.0sudo bin/kc.sh build
sudo ufw delete allow 8443/tcpsudo ufw allow 443/tcp
sudo ufw status
sudo shutdown -r now

Next Steps

Summary

--

--

--

FileMaker Developers; Keycloak Enthusiasts; Data Magicians

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

Recommended from Medium

Recognizing Characters on the Number Plate of a Car using Python and Fetching Owner's details.

Product-Driven Engineering Decision Making

Top 10 Web Application Development Trends To Look In 2022

Chain replication : how to build an effective KV-storage (part 1/2)

Struggles of a Self-taught Developer that you as a Non-Developer should know

My Journey from PHP to Node.js

How To Make A Continuous Testing Pipeline With GitHub Actions

How to Automatically Convert PPTX to PDF using Java

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

Docker goes brr: deploy anywhere, anytime.

Dapr and Kafka-easy binding

Error Handling in Kamelet Binding — By Example