• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

ERROR: Exception Can't decrypt data

Andrei C

Regular Pleskian
Hello,

I can see password witch command "%plesk_bin%"\plesksrvmng.exe -get , but when I try open http://localhost:8443/, I see next error:
----------------------------------------------------
ERROR: Exception
Can' decrypt data

0: String.php 331
plesk_get_symmentric_key()
1. String.php:331
Plesk_Base_Utils_String::getCryptKey()
2: common_func.php3:3225
get_failure_redirect_url(string 'failure_redirect_url')
3: auth.php3:222

How can I fix this error?
 
You need to disable encryption in Plesk database, because encryption was enabled in Plesk, but there is no way to decrypt passwords back, so you should change it manually:

mysql> update misc set val='false' where param='secure_passwords';

It is not correct way just to copy Plesk settings from registry, because when password encryption is enabled in Plesk, system creates special key in registry HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config\sym_key which is responsible for decryption. AES key stored in sym_key value in registry is generated randomly. If it is lost/modified, then all passwords with type = 'sym' in following tables are un-decipherable:

- psa.accounts -- passwords for mail accounts, clients, resellers and mailboxes

- psa.misc -- passwords for access to apsc database

- psa.databaseservers -- passwords for accessing database servers

In such case, the only solution is to reset all passwords to random values using our password mass changer script (KB http://kb.parallels.com/113391). You need to reset passwords for admin and apsc users and for MYsql database, set Plesk password. Please update passwords for domains as well using the article above.
Contact Support Team if you can't fix it by yourself.
 
I have full backup of Regedit, this path "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config\sym_key" too and all MySQL/MSSQL databases and all users data, I try recovery Plesk Panel on another Server -> simulating a server crash.
 
Thanks, but I need the first try to restoring without reseting all password (using our backups).

Why restoring regedit and MySQL settings not working on another server?
Working only at the same server.
 
Back
Top