INFA_DEFAULT_DB_TRUSTSTORE_PASSWORD
INFA_DEFAULT_DB_TRUSTSTORE_PASSWORD environment variable applies to the infasetup command line program.
Some infasetup commands configure secure communication for the domain. You can provide the password for the database truststore file for the secure database as an option with infasetup, or you can store it as the environment variable INFA_DEFAULT_DB_TRUSTSTORE_DATABASE_PASSWORD.
Use the following steps as a guideline to use an encrypted password as an environment variable:
- 1. Use the command line program pmpasswd to encrypt the database user password.
pmpasswd generates and displays the encrypted password. For example, if you enter the password “monday,” it encrypts to f/wRb5PZsZnqESTDPeos7Q==.
- 2. Configure the password environment variable to set the encrypted value.
Configuring INFA_DEFAULT_DB_TRUSTSTORE_PASSWORD on UNIX
To configure INFA_DEFAULT_DB_TRUSTSTORE_PASSWORD on UNIX:
1. At the command line, type:
pmpasswd <database password>
pmpasswd returns the encrypted password.
2. In a UNIX C shell environment, type:
setenv INFA_DEFAULT_DB_TRUSTSTORE_PASSWORD <encrypted password>
In a UNIX Bourne shell environment, type:
INFA_DEFAULT_DB_TRUSTSTORE_PASSWORD = <encrypted password>
export INFA_DEFAULT_DB_TRUSTSTORE_PASSWORD
Configuring INFA_DEFAULT_DB_TRUSTSTORE_PASSWORD on Windows
To configure INFA_DEFAULT_DB_TRUSTSTORE_PASSWORD on Windows:
1. At the command line, type:
pmpasswd <database password>
pmpasswd returns the encrypted password.
2. Enter the environment variable INFA_DEFAULT_DB_TRUSTSTORE_PASSWORD, and set the value to the encrypted password.
For information about setting environment variables on Windows, consult the Windows documentation.