I have tested Keycloak 18 locally and it works fine with:
bin/kc.sh start-dev
and would like to deploy to production. So here is the keycloak.conf
on the cloud machine (Ubuntu 20.04 with OpenJDK 17):
db=mariadb
db-username=dbusername
db-password=dbpassword
db-url=jdbc:mariadb://localhost/dbname
hostname=example.com
https-certificate-file=/path/to/file.pem
https-certificate-key-file=/path/to/key.pem
hostname-strict=false
hostname=anngo-hub.com
http-enabled=true
http-host=ip-address
http-port=9090
https-port=9443
Then build and start:
bin/kc.sh build
bin/kc.sh start
When I browse to my cloud machine IP: http://ip-address:9090 or https://ip-address:9443, I got the “Welcome to Keycloak” but when clicking to “Administration Console”, I got white screen!!
How to find the problem behind this white screen?