Details
-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.0
-
Documentation (Ref Guide, User Guide, etc.)
-
Low
-
-
Documented as Resolved Issue
-
ON_QA
Description
The instructions given at http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5/html/Security_Guide/sect-PBE.html are missing one of the steps. They say to configure the security domain to use the file "${jboss.server.home.dir}/conf/server.password", but it does not tell you what to put in this file.
You need to run this, which will store the encryption details and obfuscated master password in the given file:
java -cp jboss-as/common/lib/jbosssx.jar org.jboss.security.plugins.FilePassword $SALT $COUNT $MASTER_PASSOWRD $PASSWORD_FILE
So for the example in the docs:
java -cp jboss-as/common/lib/jbosssx.jar org.jboss.security.plugins.FilePassword abcdefgh 13 master jboss-as/server/$PROFILE/conf/server.password