Sun OpenSSO Enterprise 8.0 Installation and Configuration Guide

Encrypting the Message Queue Broker Password Using the amsfopassword Script (Required)

The amsfopassorwd script accepts the password for the Message Queue broker user (default is guest) in clear text and returns the encrypted password in a file. You can then use this file as input to the amsfo script by setting the PASSWORDFILE variable in the amsfo.conf configuration file.

To run the amsfopassword script, use the following syntax:

amsfopassword
-f|--passwordfile password-file -e|--encrypt clear-text-password

To display help, specify -h|--help.

ProcedureTo Encrypt the Message Queue Broker Password Using the amsfopassword Script

  1. On the server where you ran the setup script, run the amsfopassword script.

    For example, on a Solaris system:

    # cd /sfo-zip-root/sfo/bin
    # ./amsfopassword -f /sfo-zip-root/sfo/mqpassword -e clear-text-password
    

    You are not required to run amsfopassword as superuser (root).

  2. Use the encrypted password in the mqpassword file as input to the amsfo script by setting the PASSWORDFILE variable in the amsfo.conf file.

    For information about the PASSWORDFILE variable, see Table 8–1.