Secure Keycloak ???? Für aktuelles Produkt umarbeiten ????¶
For security reasons, SEAL Systems strongly recommends changing the password of the pre-configured Keycloak user and configuring the TLS encryption. This is also one step to get rid off the annoying certificate warnings in the browser.
Change the Password of admin
¶
After the standard installation, the following Keycloak administrator user is available:
Username: admin
Password: SealAdmin1
This is how you change the password of this user:
-
In your Web browser, open the Keycloak user interface, https://localhost:32769.
-
Open the
Administration Console
. -
Log on with the pre-configured user
admin
and passwordSealAdmin1
. -
Change the password in
Manage Account
and memorize the password.
Configure the TLS Encryption¶
-
Get a certificate as Java keystore, see the Requirement.
-
Copy the Java keystore into the JBoss configuration directory:
C:\ProgramData\SEAL Systems\infrastructure\data\seal-keycloak\configuration
. -
In the
security-realms
section ofC:ProgramData\SEAL Systems\infrastructure\data\seal-keycloak\configuration\standalone.xml
, insert the following lines:<security-realm name="SslRealm"> <server-identities> <ssl> <keystore path="<yourdomain.com.jks>" relative-to="jboss.server.config.dir" keystore-password="<keystore_password>"/> </ssl> </server-identities> </security-realm>
-
In
C:\ProgramData\SEAL Systems\infrastructure\data\seal-keycloak\configuration\standalone.xml
, replace the existenthttps-listener
line by the following line:<https-listener name="default-ssl" socket-binding="https" security-realm="SslRealm"/>
-
Restart the
seal-keycloak
service.
Next Step¶
Continue with: Secure Consul