In this recipe, we will learn how to use a secure channel for a specific application. This is related to how your application is reached, and not to how to secure your data model, functionality, and all the features that an application comes with. Securing applications needs different considerations and aspects, which should be addressed and resolved mostly on the dev-side.
To get started, let's first create an
ad-hoc folder to run our WildFly. In a terminal window execute the following commands:
$ cd $WILDFLY_HOME $ cp -a standalone sec-std-node-2
Now it's time to create our keystore, which is used to encrypt data traffic for our specific application: