Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

KEYCLOAK IN PRODUCTION NOT WORKING ON UBUNTU

186 views
Skip to first unread message

harry cr7

unread,
Dec 1, 2024, 2:41:37 PM12/1/24
to Keycloak User
Dear friends,
I need some helps
I'am running keycloak in production mode on ubuntu but it is not working 

here is my keycloak.conf file :
 db=postgres

 db-username=keycloak

 db-password=keycloak

 db-url=jdbc:postgresql://localhost/keycloak

 health-enabled=true
 https-certificate-file=tls/keycloak-server.crt.pem
 https-certificate-key-file=tls/keycloak-server.key.pem
 http-port=8080
 https-port=8083
 proxy=edge
 https-protocols=TLSv1.3,TLSv1.2
 http-enabled=true
 hostname-strict-https=false
#
#
hostname-url=https://domaine.vmj:8083
proxy-headers=xforward

NB: That configuration works with i replace "https://domaine.vmj" with "https://localhost:8083"

please i need helps 

Harry DJIKPO

Bharath S

unread,
Dec 2, 2024, 1:04:23 PM12/2/24
to Keycloak User
Can you share more details like what error you are getting so that it would be easy to debug 

Antonino Bonanno

unread,
Dec 2, 2024, 1:22:36 PM12/2/24
to harry cr7, Keycloak User
Hi there, what is not working? Could you be more specific?

--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/keycloak-user/2d5f8323-39e7-4e8e-a136-c9d7f4b98d5bn%40googlegroups.com.

harry cr7

unread,
Dec 20, 2024, 1:19:29 AM12/20/24
to Keycloak User
Hello Dear all
, sometimes if keycloak is not working in production mode on linux(with your ubuntu ip address), it is because of the firewall. We need to turn off the firewall using this command  "sudo ufw disable"
Hope it will help someone 

--

Antonino Bonanno

unread,
Dec 20, 2024, 6:01:08 AM12/20/24
to harry cr7, Keycloak User
Hi, still no clue about the error message. Anyway I strongly suggest understanding which ports You have to open and on which network too :) - Disable a firewall is not a good idea from a security perspective!
Bye

Reply all
Reply to author
Forward
0 new messages