Changing your encryption key can be a lengthy process. You must generate a new keystore, distribute it to all modules, and re-save stored passwords.
To change your encryption key:
- Remove the p6keystore.jks file from the /database folder.
- Do the following, depending on your operating system:
- For Windows, run: installp6keystore.bat -createnew
- For Linux, run: installp6keystore.sh -createnew
- You must then copy the p6keystore.jks file to of the module folders, and generate a new password file. See Copying a Key for more information.
- Run dbconfigpv.sh or .cmd.
- Open the Primavera P6 Administrator.
- Re-save the following fields to encrypt them using the new key:
Database/Instance[n]/Password
Database/Instance[n]/Content Repository/SharePoint/Password
Database/Instance[n]/Content Repository/CMIS/Password
Database/Instance[n]/Content Repository/OracleDatabase/Password
Database/Instance[n]/BI Publisher/Password
Database/Instance[n]/BPM Settings/PCS (SaaS only)/Password
Services/Mail Service/Authorized User Password
Integration API/RMI/Keystore Password
Web Services/Security/Authentication/Signed SAML Tokens/Keystore Password
Web Services/Security/Authentication/Signed SAML Tokens/Private Key Password
Web Services/Security/Message Protection/Keystore Password
Web Services/Security/Message Protection/Private Key Password
Authentication/LDAP/SSL Store Password
Database Instance/LDAP Connection Settings[n]/Password
Note: You do not need to re-save fields without stored passwords.