Failed to connect. Curl error code: 77 when using the RSA MFA Agent 9.0 for PAM via REST Protocol
Originally Published: 2024-07-19
Article Number
Applies To
RSA Product/Service Type: MFA Agent for PAM
Issue
The /var/ace/log/mfa_rest.log displays the following error messages:
2024-06-27 09:46:36,623 [0x7fdc160b15c0] INFO (../src/ConnectionHandler/ConnectionHandler.cpp:571) - Connecting to Server: https://primary.rsalab.com:5555/mfa/v1_1/authn 2024-06-27 09:46:36,634 [0x7fdc160b15c0] ERROR (../src/ConnectionHandler/ConnectionHandler.cpp:575) - Failed to connect.Curl error code: 77
Cause
Curl error code 77 indicates an issue related to the SSL root CA certificate. Specifically, it means that application failed to load or verify the SSL root CA certificate file, which is necessary for establishing a secure connection.
Resolution
- Ensure that the server's SSL root CA certificate is imported on the Linux machine, rather than the intermediate or server certificates. Follow these steps in the article on how to export root certificates for RSA SecurID Access Authentication Manager, Identity Router, or Cloud Authentication Service.
- After exporting the certificate, import it into the /var/ace directory on the Linux server.
Related Articles
Using cURL for debug troubleshooting and simulating client sessions 105Number of Views Use curl commands to test the connection between an RSA MFA Agent and Authentication Manager 8.7 44Number of Views Is the PAM Agent supported with Redhat 6.2 7Number of Views RSA SecurID Software Token 5.0 for Windows Provisioning Guide 107Number of Views Failed to connect to the database error during upgrade to RSA Identity Governance & Lifecycle 7.0.1 230Number of Views
Trending Articles
RSA Authentication Manager 8.9 Setup and Configuration Guide How to 'Trust' the RSA Authentication Manager Security Console Self-Signed Root CA certificate and prevent Cert warnings. RSA Authentication Manager 8.9 Release Notes (January 2026) Configure RSA Authentication Manager as a Secure Proxy Server for Cloud Access Service RSA Authentication Manager Upgrade Process
Don't see what you're looking for?