Functionality requiring the retrieval of encrypted passwords is failing after a database restore in RSA Identity Governance & Lifecycle
Originally Published: 2017-04-28
Last Modified: 2022-06-20
Article Number
Applies To
RSA Version/Condition: 7.0.x, 7.1.x, 7.2.x
Issue
- POP3 email is not working because the password is invalid.
- Data collectors fail when attempting to bind to the data source because the passwords for the bind are incorrect.
- Authentication sources no longer work.
- The AFX server does not start because the AFX server Default Truststore Password is encrypted with the wrong key.
- AFX connectors initially fail due to the AFX server failure but once the AFX server starts, the connectors fail when attempting to connect to the endpoints because the passwords to authenticate the connections are incorrect.
04/27/2017 16:06:56.448 ERROR (default task-109) [com.aveksa.server.utils.PasswordTypePropertyHandler] Error in decryption method=ManagePasswordTypeProperties java.lang.IllegalStateException: An issue with handling encryption was encountered
04/27/2017 16:03:10.192 ERROR (ApprovalInboxProcessorServiceProvider) [com.aveksa.server.email.mailboxmonitor.MailboxMonitorThread] Error Processing Email javax.mail.MessagingException: Could not connect to message store for pop3s://iamtest@199.99.9.9:995; nested exception is: javax.mail.AuthenticationFailedException: [AUTH] Authentication failed.
Please see RSA Knowledge Base Article 000030327 -- Artifacts to gather in RSA Identity Governance & Lifecycle to find the location of the log files for your specific deployment.
Cause
- A backup of an RSA Identity Governance & Lifecycle database version 7.0.0 or later is restored using avdbimport without also importing the encryption keys.
- Importing a backup of a database using avdbimport into a different instance of RSA Identity Governance and Lifecycle.
- Importing a backup copy of the database using avdbimport into the same instance of RSA Identity Governance and Lifecycle where an uninstall and a re-install have been performed.
- Importing metadata for data collectors and AFX connectors from a different instance of RSA Identity Governance and Lifecycle.
KEK keys are named arbitrarily using a hashing algorithm to avoid name collisions but are always a combination of three characters including uppercase and lowercase characters and numbers and the filename extension .key. An example KEK filename is F1M.key. KEK keys are searched exhaustively during decryption. As new keys are added, new unique KEK files will be created in the master key storage directory (default /home/oracle/security). When archiving or copying KEK files, be sure to maintain all files in the directory.
Resolution
For resolving the AFX server/connector issues, please see RSA Knowledge Base Article 000034797 -- AFX server remains in a Not Running state with 'An issue with handling encryption was encountered' error on startup in RSA Identity Governance & Lifecycle.
Workaround
Notes
- Ensure that a backup copy of all the Key Encryption Key (KEK) files from the master key storage directory (default /home/oracle/security) are maintained for restoration purposes.
- Ensure that a copy of these files are retained before any uninstall and re-installation of the product.
Related Articles
Java exception error during restore of default console certificate on RSA Authentication Manager 8.2 and higher 462Number of Views Failed to cleanup RADIUS data when restoring backup from Operations Console of RSA Authentication Manager 8.4.x 243Number of Views How to restore the Server Nodes configuration in RSA Identity Governance & Lifecycle 332Number of Views Error when running RSA Authentication Manager 8.x rsautil restore-admin command 183Number of Views RSA Identity Governance and Lifecycle 7.2.1 Patch 10 Release Notes 9Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Unable to login to RSA Authentication Manager Security Console as super admin RSA Governance & Lifecycle Integration: Microsoft Azure Active Directory AD Summary RSA Governance & Lifecycle Generic REST Collector Guide RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?