SAP Knowledge Base Article - Public

3731988 - SAC live data tunnel with basic authentication to ABAP system fails with 401 due to client certificate requirement

Symptom

  • When creating a tunnel connection to S/4HANA (ABAP) with basic authentication, the message "We couldn't connect to your S/4 HANA system. For more information, see our troubleshooting page." is shown.
  • The HTTP request to /sap/bw/ina/GetServerInfo returns 401 (Unauthorized).
  • Relevant ICF services under /sap/bw/ina are activated.
  • The Cloud Connector virtual system is reachable.

NOTE: This KBA also applies to all ABAP systems, such as BW and BW/4HANA.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP Analytics Cloud 2026

Reproducing the Issue

  1. Log in to SAP Analytics Cloud;
  2. Try to create a tunnel connection to an S/4 HANA system with basic authentication;
  3. Attempt to save the connection, and it fails with the error: "We couldn't connect to your S/4 HANA system. For more information, see our troubleshooting page." 
    1. From the HAR file, the call to /sap/bw/ina/GetServerInfo returns HTTP 401 (unauthorized error).

Cause

  • The backend is configured to expect certificate-based (X.509) logon instead of Basic Authentication, causing Basic Authentication requests to be rejected (for example, ssl/client_cert set to require client certificates, or logon order prioritizes certificate-based logon).
  • Or, Cloud Connector is configured to use certificate-based authentication.

Resolution

Data source changes:

  1. Adjust the Standard Logon Order in the ABAP system to ensure that Basic Authentication is prioritized as the first authentication method used by the backend: Standard Logon Order | SAP Help Portal 
  2. In addition, verify the ICM SSL configuration to ensure that the system does not require client certificate authentication:

Steps to check:

  1. Go to transaction SMICM
  2. Navigate to Goto → Parameters → Display
  3. Check the parameter: ssl/client_cert

The value should not enforce client certificates:

0 = no client certificate required 

1 or 2 = client certificate required (this would force certificate-based authentication)

If ssl/client_cert is set to 1 or 2, the backend will attempt certificate-based authentication even when Basic Authentication is used, which can cause this error.

Cloud Connector changes:

In Cloud Connector, our strong recommendation is to always define a distinct Virtual Host name that is different from the Internal Host name. This approach provides a more secure, robust, and maintainable configuration for the long term:

  1. Go to the SCC > Edit System Mapping > Change the Internal Host Name (the port 443 can be used in the virtual host, and then 44300 in the internal)
  2. Change “Host in Request Header” to Internal Host
  3. Set Principal Type to None - NOTE: don't try to enable the checkbox 'System Certificate for Logon'
  4. Enable the option “Check Internal Host”. Refer to the screenshot below:

After applying these changes, please go to SAP Analytics Cloud and create a new connection from scratch using the internal host and port. 

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

sac, live data connection, tunnel, s/4hana, cloud connector, 401, unauthorized, /sap/bw/ina/getserverinfo, basic authentication, client certificate, x.509, smicm, ssl/client_cert, ina service, logon order, ABAP system , KBA , LOD-ANA-LDC-HAN , SAC Live Data Connection HANA , Problem

Product

SAP Analytics Cloud all versions