Symptom
When attempting to create an Import Data Connection to SAP HANA with the TLS Option "Signed by a certificate authority" the following error is shown in the Console log and Network trace;
- {"result":"{\"status\":\"Error\",\"error\":{\"code\":\"ERROR_CONNECTION_INVALID_CERTIFICATE_VALIDATION_FAID\",\"rawError\":\"SAP DBTech JDBC: Certificate validation failed : com.ibm.jsse2.util.j: PKIX path building failed: com.ibm.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target.\",\"params\":[\"SAP DBTech JDBC: Cannot connect to jdbc:sap://<HANAHost:HANAPort> [Cannot connect to host <HANAHost:HANAPort> [com.ibm.jsse2.util.j: PKIX path building failed: com.ibm.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target], -813.].\"]},\"httpStatus\":500}"}
- {"result":"{\"status\":\"Error\",\"error\":{\"code\":\"ERROR_CONNECTION_INVALID\",\"rawError\":\"SAP DBTech JDBC: TLSv1 protocol cannot be initialized: Error constructing implementation (algorithm: Default, provider: IBMJSSE2, class: com.ibm.jsse2.bf$d).\",\"params\":[\"SAP DBTech JDBC: Cannot connect to jdbc:sap://<HANAHost:HANAPort> [Cannot connect to host <HANAHost:HANAPort> [Error constructing implementation (algorithm: Default, provider: IBMJSSE2, class: com.ibm.jsse2.bf$d)], -813.].\"]},\"httpStatus\":500}"}
- {\"code\":\"ERROR_CONNECTION_INVALID_CERTIFICATE_VALIDATION_FAID\",\"rawError\":\"SAP DBTech JDBC: Certificate validation failed : sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.\",\"params\":[\"SAP DBTech JDBC: Cannot connect to jdbc:sap:// <HANAHost:HANAPort>[Cannot connect to host <HANAHost:HANAPort> [sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target], -813.].\"]}
Environment
- SAP Analytics Cloud 2022.8+
- SAP HANA secured with valid CA Signed Certificate
Reproducing the Issue
- Log in to SAP Analytics Cloud.
- Navigate to Connections.
- Create a new Import Data Connection to SAP HANA.
- Select TLS Option "Signed by a certificate authority (Recommended).
- Observe the error in the Console and Networks tab within Google Chrome Developer Tools.
Cause
- Please make sure the following guide has been followed;
- Make sure that the HANA CA Signed Certificate is within the JVM Keystore used by the SAP Analytics Cloud Agent
- If you are using the Simple Deployment Kit (SACAgentKit) this can be found in the following directory - <SACAgentKitInstallationDirectory>\sapjvm_8\jre\lib\security
- Please also make sure you are using a supported JVM such as SAP JVM
Resolution
The issue has been resolved by HANA team with version 2.00.067.01 and 2.00.070.
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud Connection Guide
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
- ERROR_CONNECTION_INVALID_CERTIFICATE_VALIDATION_FAID
- ERROR_CONNECTION_INVALID
- ERROR_CONNECTION_INVALID_CERTIFICATE_VALIDATION_FAID
Product
SAP Analytics Cloud 1.0