RSA SecurID two-factor authentication (2FA) fails when users attempt to log in to VMware vCenter Server 8.0. The issue occurs due to incorrect RSA Authentication Manager (AM) agent configuration or improper Active Directory (AD) user ID attribute mapping in vCenter Single Sign-On (SSO).
Symptoms
RSA 8.x, these logs appear in:
/opt/rsa/am/server/logs/authentication.log[YYYY-MM-DD HH:MM:SS,410] DEBUG tomcat-http--31 - {updateServerResponseTime} serverLBInfoMap: Key Values: ###.###.###[YYYY-MM-DD HH:MM:SS,410] DEBUG tomcat-http--31 - {updateServerResponseTime} serviceHostName = ###.###.###, responseTime=22[YYYY-MM-DD HH:MM:SS,411] INFO tomcat-http--31 - {processAuthnRequest} xmlauthnResponse: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><authn:AuthnResponse ID="#########" InResponseTo="#########" xmlns:gen=" http://www.rsa.com/schemas/###/authentication-generic" xmlns:xmime=" http://www.example.org/###/xmlmime" xmlns:stat=" http://www.example.com/schemas/###/status" xmlns:ws-i18n=" http://www.example.org/###" xmlns:authn=" http://www.rsa.com/schemas/###/authentication"><authn:Status Status=" http://www.rsa.com/###/authentication/status/Complete" Reason=" http://www.rsa.com/schemas/###/authentication/reasons/AccessDenied"><stat:Message>com.rsa.authmgr.internal.admin.principalres.PrincipalResolutionException: Unable to Resolve Principal:No aliases found, unable to resolve principal by alias
Authentication Method: RSA SecurID (2FA)
This issue occurs due to one or more of the following misconfigurations:
Important Notes:
Snapshot of the vCenter Server Appliance before making any changes.
All commands must be executed as the root user on the VCSA.
Replace domain names and hostnames with values specific to environment.
Phase 1: Clear Existing RSA Configuration from vCenter
#ssh root@<vcenter_fqdn>#cd /opt/vmware/bin Verify (Optional):
#./sso-config.sh -t vsphere.local -get_authn_policy
Expected output:
IsSecurIDAuthnEnabled: false
#./sso-config.sh -t vsphere.local -remove_rsa_site#./sso-config.sh -t vsphere.local -get_rsa_configservice-control --stop --allservice-control --start --allPhase 2: Configure RSA Authentication Manager (AM) 8.8
Note: These actions should be validated by Vendor.
1. Create a New Authentication Agent
2. Generate the RSA Configuration File
Phase 3: Reconfigure RSA SecurID on vCenter (VCSA CLI)
#cd /opt/vmware/bin#./sso-config.sh -set_rsa_site -t vsphere.local -agentName vc.example.com -sdConfFile /root/sdconf.rec#./sso-config.sh -t vsphere.local -set_authn_policy -securIDAuthn true#./sso-config.sh -set_rsa_userid_attr_map -t vsphere.local -idsName example.com -ldapAttr sAMAccountName#./sso-config.sh -t vsphere.local -get_rsa_configservice-control --stop --allservice-control --start --allPhase 4: Testing and Validation
Expected Result:
Authentication request is forwarded to RSA AM
User successfully logs in to vCenter using RSA SecurID 2FA
For reference documentation: VMware vSphere Authentication with RSA SecurID (vSphere 8.0) (Set Up RSA SecurID Authentication)