diff --git a/docbook/reference/en/en-US/modules/server-installation.xml b/docbook/reference/en/en-US/modules/server-installation.xml index d611755e40..c6b253c50c 100755 --- a/docbook/reference/en/en-US/modules/server-installation.xml +++ b/docbook/reference/en/en-US/modules/server-installation.xml @@ -303,10 +303,43 @@ $ keytool -import -alias yourdomain -keystore keycloak.jks -file your-certificat
- Installing the keystore + Installing the keystore to WildFly Now that you have a Java keystore with the appropriate certificates, you need to configure your - JBoss or Wildfly installation to use it. First step is to move the keystore file to a directory + Wildfly installation to use it. First step is to move the keystore file to a directory + you can reference in configuration. I like to put it in standalone/configuration. + Then you need to edit standalone/configuration/standalone.xml to enable SSL/HTTPS. + + + To the security-realms element add: + + + + + + + +]]> + + + + Find the element <server name="default-server"> (it's a child element of <subsystem xmlns="urn:jboss:domain:undertow:1.0">) and add: + +]]> + + + + Check the Wildfly documentation for more information on fine tuning the socket connections. + +
+
+ Installing the keystore to JBoss AS7 + + Now that you have a Java keystore with the appropriate certificates, you need to configure your + JBoss AS7 installation to use it. First step is to move the keystore file to a directory you can reference in configuration. I like to put it in standalone/configuration. Then you need to edit standalone/configuration/standalone.xml to enable SSL/HTTPS. @@ -317,7 +350,7 @@ $ keytool -import -alias yourdomain -keystore keycloak.jks -file your-certificat + key-alias="localhost" certificate-key-file="${jboss.server.config.dir}/keycloak.jks" /> ... @@ -325,8 +358,7 @@ $ keytool -import -alias yourdomain -keystore keycloak.jks -file your-certificat - Check the Wildfly - or JBoss documentation for more information on fine tuning the socket connections. + Check the JBoss documentation for more information on fine tuning the socket connections.