Applies to:
After you configure a custom encryption key, update the property files on your
application servers to use the custom encryption key.
Before you begin
The following tasks must be completed before you begin:
Procedure
-
Stop all OpenPages application servers,
admin and non-admin.
-
Copy the keystore.properties file to the
<OP_HOME>/aurora/bin directory.
-
Edit the aurora.properties file.
-
Go to the
<OP_HOME>/aurora/conf
directory.
-
Make a backup copy of the aurora.properties
file.
-
Open the aurora.properties file in a text
editor.
- Change the following password value after the equal sign to plain
text.
security.system.password=<openpages_system_password>
- 9.1.1 and earlier Change the following
password value after the equal sign to plain text.
database.PASSWORD=<openpages_db_password>
-
Save and close the file.
When you restart the servers later in this task,
the passwords are re-encrypted with the custom encryption key.
-
Edit the aurora_auth.config file.
-
Go to the
<OP_HOME>/aurora/conf
directory.
-
Make a backup copy of the aurora_auth.config file.
-
Open the aurora_auth.config file in a text editor.
-
Locate the
security.search.user.credentials parameter
-
Change the value after the equal sign to plain text.
-
Save and close the file.
When you restart the servers later in this task,
the password is re-encrypted with the custom key that you specified.
-
Edit the bootstrap.properties file.
-
Go to the
<OP_HOME>/wlp-usr/servers/<server_name>Server<#>
directory.
-
Make a backup copy of the bootstrap.properties
file.
-
Open the bootstrap.properties file in a text
editor.
-
Change the following password value after the equal sign to plain text.
op.jdbc.password=<jdbc_password>
-
Save and close the file.
When you restart the servers later in this task,
the passwords are re-encrypted with the custom encryption key.
-
Edit the op-backup-restore.env file.
-
Go to the
<OP_HOME>/aurora/bin
directory.
-
Make a backup copy of the op-backup-restore.env file.
-
Open the op-backup-restore.env file in a text editor.
-
Change the following password values after the equal sign to plain text.
-
IBM®
Db2®
-
DB_OP_PWD: Type the password of the schema owner for the OpenPages database.
- Oracle
-
-
DB_SYSTEM_PWD: Type the password of the SYSTEM user for the OpenPages database.
-
DB_SYS_PWD: Type the password of the DBA user for the OpenPages database.
-
DB_OP_PWD: Type the password of the schema owner for the OpenPages database.
-
Save and close the file.
-
Re-encrypt the passwords in the op-backup-restore.env file with the
custom encryption key that you specified.
-
Go to the
<OP_HOME>/aurora/bin
directory.
-
Run the following command:
-
Windows
-
OPBackup.cmd secure
-
Linux
-
./OPBackup.sh secure
-
Open the op-backup-restore.env file in a text editor and verify
that the passwords are encrypted.
-
If you are using a horizontal cluster, do steps 2-6 on each application server in the
cluster.
-
Start all OpenPages application servers,
admin and non-admin.
Results
The passwords are encrypted with the custom encryption key that you specified in the
keystore.properties file.