Change SSL Port

Hi,

is it possible to change the intern Port in a Dockerstack from 8443 to 443?

Cheers
Ralf

In theory you may use undocumented env variable KEYCLOAK_HTTPS_PORT:

or that -Dkeycloak.hostname.fixed.httpsPort

But why you just don’t remap it on the container level:

docker run \
  -p 443:8443
  ....
  jboss/keycloak

Hi,

i try KEYCLOAK_HTTPS_PORT and this in my docker-compose now:
command: “-Dkeycloak.hostname.fixed.httpsPort=443”

But now, i got “Connection refused” on Port 443 and 8443

I see in the docker log this:
14:17:08,624 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTPS listener https listening on 0.0.0.0:8443

Cheers
Ralf

Hey @jangaraj

did you know, why this Portsetting doesn’t work?

Cheers
Ralf