Create login key files
- Create a login key file. The authenticating user IDs, passwords, and target realms for each different target server are specified in the login key file, which is an ASCII file. When the security authentication service processes the login key file, the passwords in the file are encoded.
- Add information to the login key file in the following format:
Realm_name User_ID Password
- Verify the data conforms to the following rules:
- One realm name
- One user ID, and one password defined in each entry
- One entry per line
- No blank lines between entries
- Comments on separate lines only
- Begin any comment with a pound sign (#):
# Sample key file
# First target realm
TargetRealm serverID serverPassword
# Second target realm
TargetRealm2 serverID2 serverPassword2
# End of key file
A sample file named wsserver.key also contains these instructions. After installation, one can locate this sample file in the install_root/properties directory. Use or modify the sample file as needed for testing.
Note: You can place the login key file anywhere on a host machine running the application server. However, it is recommended that you place the login key file under a securable file system .
What to do nextAfter creating the login key files, read the article entitled, Preparing truststore files.