[keycloak-user] pre configured keycloak on wildfly with war distribution suddenly requesting https for admin console

Stian Thorgersen stian at redhat.com
Wed Jan 21 07:42:44 EST 2015


The section I linked to doesn't mention how to setup SSL. Please read section "3.3.4. SSL/HTTPS Requirement/Modes" it clearly answers your question.

----- Original Message -----
> From: "Hernan Dario Metaute Sarmiento" <hernan.metaute at ceiba.com.co>
> To: "Stian Thorgersen" <stian at redhat.com>
> Cc: keycloak-user at lists.jboss.org
> Sent: Wednesday, 21 January, 2015 1:38:00 PM
> Subject: Re: [keycloak-user] pre configured keycloak on wildfly with war distribution suddenly requesting https for
> admin console
> 
> Well yes, I'm aware of the documentation on how to implement ssl on
> keycloak. In fact, I already did. I had to in order to keep working
> My question is regarding why the server in my local environment without ssl
> runs correctly but as soon as I installed on an Amazon instance started to
> show the HTTPS REQUIRED error when trying to access the master domain.
> 
> 2015-01-21 1:19 GMT-05:00 Stian Thorgersen <stian at redhat.com>:
> 
> >
> > http://docs.jboss.org/keycloak/docs/1.1.0.Beta2/userguide/html/server-installation.html#ssl_modes
> >
> > ----- Original Message -----
> > > From: "Hernan Dario Metaute Sarmiento" <hernan.metaute at ceiba.com.co>
> > > To: keycloak-user at lists.jboss.org
> > > Sent: Tuesday, 20 January, 2015 4:57:14 PM
> > > Subject: [keycloak-user] pre configured keycloak on wildfly with war
> > distribution suddenly requesting https for admin
> > > console
> > >
> > > Hi, I'm new to keycloak and I recently installed the war distribution on
> > my
> > > local machine.
> > > For this I had to tweak some configurations on wildfly and when I
> > finally got
> > > it working I zipped the server and copied it to an amazon instance. I
> > logged
> > > in to the console and fired up the server with standalone.
> > > Then I accessed http://<amazon instance url>:8080/auth and clicked the
> > Admin
> > > console link.
> > > The server then threw an exception:
> > >
> > >
> > > We're sorry ...
> > >
> > >
> > > HTTPS required
> > > On my local machine I never set up https and I have been looking through
> > the
> > > configuration files both of keycloak and the standalone.xml and see no
> > > configuration regarding ssl anywere.
> > > The only difference between both installations is that I have the amazon
> > > instance pointing to an empty Mongo repo and my local config has a mongo
> > > connection to other server already populated with keycloak collections.
> > > Could this be the problem?
> > > Should I migrate the local mongo database to my amazon instance for
> > keycloak
> > > admin console to stop needing ssl?
> > > Thanks in advance
> > >
> > >
> > >
> > > _______________________________________________
> > > keycloak-user mailing list
> > > keycloak-user at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
> 
> 
> 
> --
> 
> *Hernán Metaute*
> Arquitecto
> 
> *Ceiba Software *(57 4) 444 5 111 Ext 110
> Cl 8 B  65 - 191 Of 409, Centro Empresarial Puertoseco – Medellín, Colombia
> Visite nuestro sitio www.ceiba.co <http://www.ceiba.com.co/>
> ________________________________________
> BEste mensaje, incluido su adjunto, es confidencial y puede ser
> privilegiado. Si usted no es su destinatario, por favor notifique al
> emisor, luego destruya la comunicacion y todas las copias. Usted no debe
> copiar, distribuir y/o revelar esta comunicacion parcial o totalmente sin
> autorización del emisor.
>



More information about the keycloak-user mailing list