keycloak production with ssl

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

localhost
127.0.0.1
10..

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:

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Connecting to %s