The buildforge.conf file contains a username and password (db_password) that Build Forge uses to access the database. That password is normally encoded but can be encrypted. To encrypt a password for the Management Console, do the following:
bfpwencrypt -e password
Use the plain-text password you want to encrypt for password.
The encrypted password is sent to stdout.
The bfagent.conf file contains the password key (ssl_key_password) that the agent uses to access the keystore. That password is normally clear text but can be encrypted. To encrypt a password for the agent, do the following:
bfagent -e password
Use the plain-text password you want to encrypt for password.
The encrypted password is sent to stdout.To correct the error, do the following:
bfagent stream tcp nowait root /usr/local/bin/bfagent bfagent
bfagent stream tcp nowait root /usr/bin/env env LIBPATH=path /usr/local/bin/bfagent
The path is
the location of your GCC library. An encrypted password starts with the string bfcrypt: and the password key alias enclosed in braces, followed by the password, which is encrypted (AES 128 bit) and then encoded (Base63). Examples of encoded and encrypted passwords:
Encoded:
dd8b42eed5cc051500f5bffe2b82b1aa6a67baee028a85d0cefa
Encrypted:
{bfcrypt:7427ab360c4010008f9d000049664966}drAIT1zLDGX/xRcvw65+B8aFpTqvmAdbmnh6FpwkHjU=