Article Number
000037660
Applies To
RSA Product Set: SecurID
RSA Product/Service Type: Authentication Agent for PAM
RSA Version/Condition: 8.x
Platform: Linux
Issue
The RSA Authentication Agent 8.x for PAM is installed on a supported platform with REST protocol as a operation method and the SSH service is configured to be challenged with RSA passcode.
- When the challenged users trying logging into the machine through SSH they are getting below error.
Image description
- After enabling the DEBUG for the REST protocol, the /var/ace/log/mfa_rest.log shows either of following errors:
ERROR (../src/ConnectionHandler/ConnectionHandler.cpp:359) - Failed to connect.Curl error code: 6
or
ERROR (../src/ConnectionHandler/ConnectionHandler.cpp:359) - Failed to connect.Curl error code: 28
Cause
Curl error code 6
The error displays on the machine where the Authentication Agent for PAM is installed when the agent is unable to resolve the Authentication Manager server hostname.
Curl error code 28
The error displays on the machine where the Authentication Agent for PAM is installed when the agent is not able get the authentication response from the Authentication Manager servers before it timeouts.
Resolution
Follow the steps outlined below to resolve the issues.
For Curl error code 6
- In client system, where pam agent is installed, Login as root user and edit hosts file. Run below command for that.
vi /etc/hosts
- Enter the IP addresses and fully qualified domain names of the primary and replica Authentication Manager servers. For example,
192.168.1.10 amv84p.example.com #AM primary
102.168.1.11 amv84r.example.com #AM replica
- Save the changes.
- Open an SSH session and try to authenticate with a challenged user. This time it will prompt for passcode.
- Enter the RSA passcode and verify that the authentication succeeds.
For Curl error code 28
- On a client system, where the Authentication Agent for PAM is installed, login as the root user.
- Navigate to /var/ace/conf on the Linux server and edit the mfa_api.properties file.
- Change the CONNECT_TIMEOUT value to 120 and the READ_TIMEOUT value to 160.
- Save and close the file.
- Open an SSH session and try to authenticate with a challenged user. This time it will prompt for passcode.
- Enter the RSA passcode and verify that the authentication succeeds.