- Product: RSA Governance & Lifecycle
- Versions: 6.9.1, 7.x, 8.x
- Component: AFX Server, RSA Governance & Lifecycle Certificate Store, JDK Truststore (
cacerts) - Operating System: Linux
afx_server.service - Afx Server
Loaded: loaded (/etc/systemd/system/afx_server.service; enabled; vendor preset: disabled)
Active: active (exited) since Mon 2020-01-06 12:30:28 EST; 11s ago
...
Jan 06 12:29:18 <your-afx-server-hostname> afx_server[20643]: Waiting for AFX applications to start...
Jan 06 12:30:28 <your-afx-server-hostname> afx_server[20643]: WARNING!! Timed out waiting for AFX applications to start.
Please check AFX application log files for detailed status information.
Use this article if the AFX Server fails to start and remains in a Not running state in the RSA Identity Governance & Lifecycle UI under AFX > Servers, and the log files show SSL certificate path validation errors during AFX initialization.
Observable symptoms:
- The AFX Server status shows
Not runningin the UI and does not recover after restart attempts. - Running
afx statusas theafxuser on the application server shows the startup timed out.
Run the following command as the afx user to confirm:
afx status
Expected output when this issue is present:
afx_server.service - Afx Server
Loaded: loaded (/etc/systemd/system/afx_server.service; enabled; vendor preset: disabled)
Active: active (exited) since Mon 2020-01-06 12:30:28 EST; 11s ago
...
Jan 06 12:29:18 <your-afx-server-hostname> afx_server[20643]: Waiting for AFX applications to start...
Jan 06 12:30:28 <your-afx-server-hostname> afx_server[20643]: WARNING!! Timed out waiting for AFX applications to start.
Please check AFX application log files for detailed status information.
Log Evidence Versions 6.9.1 and 7.x
The following key errors appear in the AFX log files when starting AFX on versions 6.9.1 and 7.x.
NOTE: $AFX_HOME refers to the AFX Server installation directory on the Linux host (for example, /home/afx). Full stack traces are provided in the Appendix at the bottom of this article.
In $AFX_HOME/esb/logs/mule_ee.log:
Failed to deploy artifact '10_AFX-INIT'
CertPathBuilderException: Could not build a validated path.
Failed to deploy artifact '15_AFX-MAIN'
IllegalArgumentException: Could not resolve placeholder 'afx.server.activemq.password'
in string value "${afx.server.activemq.password}"
In $AFX_HOME/esb/logs/esb.AFX-INIT.log:
Unable to establish secure (SSL) connection with RSA Identity Governance and Lifecycle server.
SSL certificates for RSA Identity Governance and Lifecycle server and AFX were not issued
by the same RSA Identity Governance and Lifecycle Certificate Authority (CA).
In $AFX_HOME/esb/logs/esb.AFX-MAIN.log:
Could not resolve placeholder 'afx.server.activemq.password'
in string value "${afx.server.activemq.password}"
Log Evidence Version 8.0.0
The following key errors appear in the AFX log files when starting AFX on version 8.0.0.
In $AFX_HOME/esb/logs/esb.AFX-INIT.log:
HTTP POST on resource 'https://<your-afx-server-hostname>:8444/aveksa/afx/heartbeat'
failed: Received fatal alert: certificate_unknown.
Error type: HTTP:CONNECTIVITY
In $AFX_HOME/esb/logs/esb.AFX-MAIN.log:
HTTP POST on resource 'https://<your-afx-server-hostname>:8444/aveksa/afx/primary'
failed: Received fatal alert: certificate_unknown.
Error type: HTTP:CONNECTIVITY
The default JDK truststore (cacerts) password is changeit. If the default password has not been changed, then that is the password that must be used for the Default Truststore Password under AFX > Servers > {AFX Server name} > Edit.
If the default JDK truststore password has been changed, then the modified password must be used in the Default Truststore Password definition for the AFX Server.
To resolve this issue, follow the steps below:
- Determine what the JDK truststore password is for cacerts. The default truststore password for cacerts is changeit.
- Login as the afx user.
- Navigate to the appropriate directory with the following command:
cd $JAVA_HOME/jre/lib/security
- List the keystore contents with the following command:
keytool -list -v -storepass changeit -keystore cacerts
keytool -list -v -storepass rowan -keystore cacerts
keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:780)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)
at java.security.KeyStore.load(KeyStore.java:1445)
at sun.security.tools.keytool.Main.doCommands(Main.java:839)
at sun.security.tools.keytool.Main.run(Main.java:368)
at sun.security.tools.keytool.Main.main(Main.java:361)
Caused by: java.security.UnrecoverableKeyException: Password verification failed
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:778)
... 7 more
To confirm that you have the correct password, run the keytool -list command again with the correct password and verify that the truststore contents are listed.
keytool -list -v -storepass {password} -keystore cacerts
- Once you confirm the cacerts password, modify the password in the RSA Identity Governance & Lifecycle user interface. Do this even if the password has not been modified, i.e. if the password is changeit.
- In the user interface, go to AFX > Servers > {AFX Server name} > Edit.
- In the Default Truststore Password field, type in the cacerts password.
- Press OK.
- Restart the AFX service as the afx user.
$ afx start
Verification step
AFX is up and running
Related Articles
AFX Server stuck in 'Not running' State, with error 'timed out waiting for AFX applications to start' 3.6KNumber of Views RSA Authentication Manager 8.8 upgrade fails with ERROR: auth_manager.rest_service.old_access_key is not found 2.09KNumber of Views Webtier showing offline after hard shutdown. Error: System fingerprint encrypted key is missing and Failed to reload passw… 1.55KNumber of Views RSA Authentication Manager - License Installation Fails with 'License/Serial Number Does Not Match' 2.83KNumber of Views Authentication Manager How to Retrieve the LDAPS Certificate and Configure an External Identity Source to Use LDAPS 4.13KNumber of Views
Trending Articles
Downloading RSA Authentication Manager license files or RSA Software token seed records RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory Mandatory Certificate Upgrade Required by 6th October 2025 for RSA MFA Agent for PAM, RSA MFA Agent for Apache, and Third … RSA Authentication Manager 8.9 Release Notes (January 2026)