AFX Server remains in a 'Not running' State with 'An issue with handling encryption was encountered' error on startup in RSA Identity Governance & Lifecycle
Originally Published: 2017-02-08
Article Number
Applies To
RSA Version/Condition: 7.0.1, 7.0.2, 7.1.x
Issue
When starting AFX, the following errors are logged to the AFX log files:
/home/{afxuser}/AFX/esb/logs/esb.AFX-INIT.log:
2017-02-02 09:13:06.707 [INFO] org.mule.lifecycle.AbstractLifecycleManager:193 - Starting: 'connector.https.mule.default.dispatcher.697427580'.
Object is: HttpsClientMessageDispatcher
2017-02-02 09:13:06.948 [INFO] com.aveksa.afx.server.init.SubmitInitializationRequestComponent:150 - Initialization response received
2017-02-02 09:13:06.951 [INFO] com.aveksa.afx.server.init.InitializationResponseProcessorComponent:37 - Processing initialization response
2017-02-02 09:13:06.975 [ERROR] com.aveksa.afx.server.init.InitializationResponseProcessorComponent:103 - Error processing initialization response
java.lang.IllegalStateException: An issue with handling encryption was encountered
at com.aveksa.common.crypto.EncryptionMgr.decrypt(EncryptionMgr.java:501)
.....
Caused by: com.aveksa.common.crypto.EncryptionException: Value to be decrypted has no associated encryptor for its embedded key version:
keyVersion[qG7]; Value[ENCAqG7(hvZ...)]
-- Check that the security key file is not missing
at com.aveksa.common.crypto.EncryptionMgr.decrypt(EncryptionMgr.java:495)
... 53 more
/home/{faxuser}/AFX/esb/logs/mule_ee.log:
ERROR 2017-02-02 09:13:07,030 [WrapperListener_start_runner] org.mule.module.launcher.DefaultArchiveDeployer:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Failed to deploy artifact '10_AFX-INIT', see below +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
org.mule.module.launcher.DeploymentInitException: EncryptionException: Value to be decrypted has no associated encryptor
for its embedded key version: keyVersion[qG7]; Value[ENCAqG7(hvZ...)]
-- Check that the security key file is not missingCause
- The database has been restored from a different system with different encryption keys.
- One node in a multi-node cluster is incorrectly using different encryption keys than the SON node.
- The AFX Server Archive has been exported from a different system than it was deployed on.
The system-wide encryption keys were introduced in 7.0.1 and later versions.
Resolution
Workaround
Under the AFX > Servers menu,
- Select the AFX Server instance that has failed.
- Edit the AFX Server and navigate to the Default Truststore Password field.
- Enter the password changeit and save the changes.
- Restart the AFX Server from the command line as the afx user.
afx restart
This will ensure that the Default TrustStore is encrypted with the current keys.
NOTE:
If you have imported any AFX connectors from another system, you will have to edit each of the connectors and update any encrypted fields (passwords) by re-entering the password and saving the connector definition.
Related Articles
Error while importing RSA Identity Management and Governance Collector metadata: java.lang.IllegalStateException: An issue… 195Number of Views Fortigate SSL VPN Timeout Issue with Approve/Biometrics 139Number of Views “An issue with handling encryption was encountered" with IBM JDK 1.8.0_281 and later in RSA Identity Governance & Lifecycle 453Number of Views Troubleshooting an update issue with an RSA Authentication Manager 8.x Web Tier deployment 357Number of Views Urgent Notice: Issue with Embedded IDR Image Downloads 192Number of Views
Trending Articles
Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Governance & Lifecycle 8.0.0 Administrators Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?