Error creating Database object: javax.crypto.BadPaddingException (upgrade to ePO fails)
Last Modified: 7/27/2023
Affected Products
Languages:
This article is available in the following languages:
Trellix CEO, Bryan Palma, explains the critical need for security that’s always learning.
As per Gartner, "XDR is an emerging technology that can offer improved threat prevention, detection and response."
Trellix announced the establishment of the Trellix Advanced Research Center to advance global threat intelligence.
Trellix Advanced Research Center analyzes threat data on ransomware, nation-states, sectors, vectors, LotL, MITRE ATT&CK techniques, and emails.
As of May 14, 2024, Knowledge Base (KB) articles will only be published and updated in our new Trellix Thrive Knowledge space.
Log in to the Thrive Portal using your OKTA credentials and start searching the new space. Legacy KB IDs are indexed and you will be able to find them easily just by typing the legacy KB ID.
Error creating Database object: javax.crypto.BadPaddingException (upgrade to ePO fails)
Technical Articles ID:
KB91305
Last Modified: 7/27/2023 Environment
ePolicy Orchestrator (ePO) 5.10.0, 5.9.x
Problem 1
An upgrade to ePO 5.9.x or 5.10.0 fails. The C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Installer\core\build.xml:1964: The following error occurred while executing this line: C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Installer\core\build.xml:1985: The following error occurred while executing this line: C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Installer\core\build.xml:1374: error creating Database object: javax.crypto.BadPaddingException: Error finalising cipher data: pad block corrupted Problem 2
You're unable to log on to the ePO 5.9.x or 5.10.x console. The Orion log might contain the following error: java.security.GeneralSecurityException: javax.crypto.BadPaddingException: Invalid padding. Cause
This issue occurs when the following registry key is missing or contains a blank value on the ePO server:
NOTE: If the above key is present and has a value, this article does not cover your upgrade failure. Solution 1
To address this issue, re-create the missing registry key with a unique value: CAUTION: This article contains information about opening or modifying the registry.
NOTE: The following command assumes that ePO is installed in the default path. If it's not, you need to adjust the paths in the command to be directed to the ePO install folder.
Solution 2
To re-create the missing registry key, perform a snapshot recovery of your ePO server. For assistance to perform this task, see the "Disaster Recovery" section of the ePO 5.10.0 Product Guide. {GENPDOC) Affected ProductsLanguages:This article is available in the following languages: |
|