My Oracle Support Banner

Error 'An error occurred attempting to encrypt the password. Possible causes: Missing or invalid keystore password file (.pwf), or corrupt keystore file (.jks)' When Re-administering the Privuser Account Using the 'Databaselogins' Utility (Doc ID 2293770.1)

Last updated on JANUARY 31, 2019

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 17.7 and later
Information in this document applies to any platform.

Symptoms

When using the databaselogins.bat (/.sh) tool to re-administer the privileged schema user (default privuser) account using AE06 authentication, the following error is observed in the Command Prompt window accompanying the utlity window:

com.primavera.PhoenixException: Problem occurred during decryption, unable to decrypt
...
Caused by: com.primavera.PhoenixException: Unable to locate proper decryption key
Original Exception:
com.primavera.PhoenixException: Unable to locate proper decryption key
...
An error occurred attempting to encrypt the password. Possible causes: Missing or invalid keystore password file (.pwf), or corrupt keystore file (.jks).

 

The issue can be reproduced at will with the following steps:

  1. Launch the <P6 version>\database\databaselogins.bat (/.sh) utility.
  2. In the Database Connections section, enter in the database connection details and click Next.
  3. Modify the contents of the Password field and click Update Password.
  4. Observe the reported rror

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.