Securing the management interfaces

The certificates that you have created so far can also be used for securing your management interfaces. It needs two steps to be implemented:

  1. Include the ssl definition in the realm used for authentication
  2. Set http-interface to use HTTPS communication

We will include the ssl definition in the LDAPRealm which was previously created - if that's not your case, just change the target realm to the one you are using.

Update the LDAPRealm by executing the following command:

/core-service=management/security-realm=LDAPRealm/server-identity=ssl/:add(keystore-path=server.keystore, keystore-relative-to=jboss.server.config.dir, keystore-password=mypassword, alias=eap7book, key-password=mypassword)

The LDAPRealm will be updated ...

Get Mastering JBoss Enterprise Application Platform 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.