PleskFatalException: Unable to obtain secret key for passwords encryption.

Created:

2016-11-16 13:25:59 UTC

Modified:

2017-04-24 11:30:51 UTC

0

Was this article helpful?


Have more questions?

Submit a request

PleskFatalException: Unable to obtain secret key for passwords encryption.

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 10.4 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

The following error message appears while accessing Plesk or during installation:

Unable to obtain secret key for passwords encryption

Cause

The Plesk upgrade or installation failed.

Resolution

  1. To fix the encryption error, regenerate the encryption key:

     /usr/local/psa/admin/sbin/encrypt_keygen

    You may see the following error:

    # /usr/local/psa/admin/sbin/encrypt_keygen
    Unable to generate new key - key file exists

    However, this utility fixes permissions for encryption key file in this case, so the error can be ignored.

  2. Run the Bootstrapper script with the below parameters to fix upgrade issues:

    /usr/local/psa/bootstrapper/pp<version>-bootstrapper/bootstrapper.sh repair

    if the case is upgrade to Plesk 12.5.30, <version> should be 12.5.30

Have more questions? Submit a request
Please sign in to leave a comment.