Certificate verification failed and ConfigResponse is not valid for RSA Authentication Agent API 8.5 and later
Originally Published: 2016-09-16
Article Number
Applies To
RSA Product/Service Type: Authentication Agent API for C or Java
RSA Version/Condition: 8.5 or later, 8.6, includes RSA Authentication Agent 8.0 for Web configured for TCP authentication
Platform: Linux
Issue
This article is relevant to authentication to RSA Authentication Manager server using TCP port 5500, not UDP 5500.
Any attempt to authenticate or communicate with the Authentication Manager server fails in the agent log.error SignatureVerifier.cpp 247 The certificate verification failed
error AgentConfigHandler.cpp 135 ConfigResponse is not valid
When authentication is initiated from RSA Authentication Agent API 8.5 or later, the ACEInitialize program reads the sdconf.rec to:
- Create bootstrap.xml & root.cer based on what is in sdconf.rec.
- Verify the certificate.
- Negotiate to exchange message keys.
Cause
Scroll down to the bottom of the IPv4/IPv6 Agent page to view the Existing Certificate Details.
If you restore a backup from another Authentication Manager 8.x server, you will import a different Agent Certificate, which will not be recognized by the Authentication Manager API 8.5 Agent.
Even if the two servers in this example were both Quick Setup with same name and IP, unless they are VM clones they do not have the same agent certificate.
Resolution
- Import the original agent certificate back into the IPv4/IPv6 page.
- From the Security Console select Setup > System.
- On left is Agents.
- Click IPv6 and then click the Choose File button at the bottom of the page.
- Generate and download a new sdconf.rec file.
- From the Security Console select Access > Authentication Agents > Generate Configuration File).
- Download the AM_Config.zip and extract the sdconf.rec.
- On the agent, delete the agent files including bootstrap.xml and root.cer
- Place the new sdconf.rec file on the agent.
- Try to authenticate again
The RSA Authentication Manager API 8.5 files are located in /var/ace by default, or configured in the rsa_api.properties file
Workaround
Related Articles
Grant RSA Customer Support Access to Your Account 21Number of Views How to configure LDAP synchronization from RSA ACE/Server 5.2 to Microsoft Active Directory 2003 20Number of Views Cannot access RSA SecurID Access protected SAML application due to incorrectly specified Identity Provider URL 118Number of Views Duplicate a Software Token Profile 10Number of Views Delete a Software Token Profile 17Number of Views
Trending Articles
RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to Upgrade Internal SHA-1 Certificates to SHA-256 in Authentication Manager Using rsautil RSA Release Notes for RSA Authentication Manager 8.8 RSA Authentication Manager 8.9 Setup and Configuration Guide
Don't see what you're looking for?