Securing domain and host controller communication using HTTPS
In this recipe, we will learn how to secure the communication between the domain controller and the host controller. To achieve this, we need to create a keystore and certificate, one for each controller, including the domain.
Getting ready
To get started, let's first create the ad-hoc
folders to run our WildFly instances: one master and two hosts. In a terminal window execute the following:
$ cd $WILDFLY_HOME $ cp -a domain sec-dmn-master $ cp -a domain sec-dmn-node-1 $ cp -a domain sec-dmn-node-2
We also better prepare our configuration folders to have the proper configuration files, using the preinstalled ones as templates and executing the following:
$ cd $WILDFLY_HOME $ mv sec-dmn-master/configuration/host-master.xml ...
Get WildFly Cookbook 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.