Keycloak with HTTPS?

471 views
Skip to first unread message

Eva Khmelinskaya

unread,
Jun 22, 2022, 4:09:42 PM6/22/22
to Keycloak User
Dear community,

I am deploying keycloak on GKE using GKE Ingress + redirectToHttps, 
When I load the  main page, everything is fine, 

However, when I try to login using Administration Console, I am getting the Error as below:

 Mixed Content: The page at 'https://mydomain/auth/admin/master/console/' was loaded over HTTPS, but requested an insecure script 'http://mydomain/auth/js/keycloak.js?version=z77f2'. This request has been blocked; the content must be served over HTTPS.

Anything I could do to get that properly setup?

For Deployment I am using image: jboss/keycloak (exposing ports 8080 and 8443)
The Service maps port 80 to 8080 and 443 to 8443
Ingress uses the backend Service on port 80 and redirection to HTTPS.


Thanks!
Eva

dane pane

unread,
Jun 22, 2022, 8:34:59 PM6/22/22
to Keycloak User
I have my instance working for both admin and clients urls using https via haproxy.
Not sure if this helps. 

Reply all
Reply to author
Forward
0 new messages