keycloak production with ssl

keycloak with http only works for non production environment, and selected host patterns, like


etc, the list could be found on the keycloak website, but mostly just for local access.

To run keycloak in production, SSL needs to set up. The required changes are, in the start up script, the keystore file needs to be specified, something like

--https-key-store-file=auth.jks --https-key-store-password=<jks_password>

Note, PKCS12 is in favor over `jks` now.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s