[keycloak-user] How to disable https for Keycloak on Openshift?

Stian Thorgersen stian at redhat.com
Wed Dec 3 10:03:30 EST 2014


Assuming that your problem is you open:

  http://my-app.rhcloud.com/auth

But end up at:

  https://my-app.rhcloud.com/auth

This is caused by the Keycloak cartridge being configured to redirect to https. You can disable this by editing auth-server.war/WEB-INF/web.xml and removing the security-constraint element.

----- Original Message -----
> From: "Christina Lau" <christinalau28 at icloud.com>
> To: "Stian Thorgersen" <stian at redhat.com>
> Cc: keycloak-user at lists.jboss.org
> Sent: Wednesday, 3 December, 2014 12:57:00 PM
> Subject: Re: [keycloak-user] How to disable https for Keycloak on Openshift?
> 
> What detail do you need, here are my steps to deploy KC on our Enterprise
> Openshift product. My company is Dell Software btw so your Openshift teams
> will be familiar with our Openshift configuration.
> 
> rhc app create mytestapp
> http://cartreflect-claytondev.rhcloud.com/github/keycloak/openshift-keycloak-cartridge
> mysql-5.5 -s -g medium
> 
> After the mytestapp is created, it is https.
> 
> I login as admin and change the require ssl to none, restart the server
> 
> Still it is https.
> 
> 
> 
> 
> > On Dec 3, 2014, at 6:53 AM, Stian Thorgersen <stian at redhat.com> wrote:
> > 
> > You really need to provide us with more details
> > 
> > ----- Original Message -----
> >> From: "Christina Lau" <christinalau28 at icloud.com>
> >> To: keycloak-user at lists.jboss.org
> >> Sent: Wednesday, 3 December, 2014 12:44:22 PM
> >> Subject: Re: [keycloak-user] How to disable https for Keycloak on
> >> Openshift?
> >> 
> >> No, I cannot login the admin console via http after I change require ssl
> >> to
> >> none on Openshift keycloak cartridge.
> >> 
> >> 
> >> _______________________________________________
> >> keycloak-user mailing list
> >> keycloak-user at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/keycloak-user
> >> 
> 
> 


More information about the keycloak-user mailing list