Securing and protecting passwords using a vault
In this recipe, you will learn how to secure and protect our password, still providing them to our WildFly configuration. The vault is a place where you store passwords, encrypted using a keystore. For our recipe, we will create a keystore and store a password used to connect to the MySQL database. MySQL installation is out of the scope of this book; if you need more information, refer to the MySQL documentation site at https://dev.mysql.com/doc/refman/5.5/en/installing.html.
Getting ready
To get started, let's first create an ad-hoc
folder to run our WildFly:
- In a terminal window run the following commands:
$ cd $WILDFLY_HOME $ cp -a standalone sec-std-cfg-node-3
Now it's time to create our keystore. ...
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.