O'Reilly logo

WildFly Cookbook by Luigi Fugaro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required