-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: EAP_EWP 5.1.0
-
Fix Version/s: EAP_EWP 5.1.2 ER2
-
Component/s: Documentation
-
Labels:
-
Affects:Documentation (Ref Guide, User Guide, etc.)
-
Estimated Difficulty:Low
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Resolved Issue
-
Docs QE Status:ON_QA
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