Functionality requiring the retrieval of encrypted passwords is failing after a database restore in RSA Identity Governance & Lifecycle
Originally Published: 2017-04-28
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
"Invalid Lockbox Configuration File" caused by space after masterpassword in server configuration files 45Number of Views Schema migration fails with ORA-01017 or ORA-28000 in RSA Governance & Lifecycle 82Number of Views RSA Identity Governance and Lifecycle - Purge monitor tasks 34Number of Views Via L&G 6.9.1 Aveksa Application Roles Privileges Tab for a User 17Number of Views RSA VIA L&G / IMG / Aveksa - AFX fails to start times out and this error is in the logs A WebGroup/Virtual Host to handle … 39Number of Views
Trending Articles
How to Download OTP Token Seed Files from myRSA RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Release Notes for RSA Authentication Manager 8.8
Don't see what you're looking for?