SAP Knowledge Base Article - Preview

2621934 - (!) ERROR; SSL error when connecting to https://<...>.hana.ondemand.com; server certificate might be invalid or untrusted

Symptom

While executing commands in the Neo Console client, the following error occurs:

[...]
(!) ERROR; SSL error when connecting to https://<...>.hana.ondemand.com; server certificate might be invalid or untrusted"
[...]

certificateinvalid.png

In the console logs these entries are visible:

A)

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

//...

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

B)

Caused by: com.sap.core.utils.infrastructure.validation.HostValidationException: javax.net.ssl.SSLHandshakeException: Received fatal alert: access_denied
at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:369)
at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:96)
... 8 more
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: access_denied
at sun.security.ssl.Alerts.getSSLException(Unknown Source)

//...


Read more...

Environment

  • SAP Cloud Platform
  • SAP Cloud Platform Console Client

Product

SAP BTP, Neo environment 1.0

Keywords

SDK, console client, command, SSL, https://services.eu1.hana.ondemand.com, https://services.us1.hana.ondemand.com, https://services.ap1.hana.ondemand.com, invalid, untrusted, certificate, JDK, JVM, JRE, proxy settings, fatal alert: access_denied, HostValidationException, SSLHandshakeException, certmanager, https://certmanager.hana.ondemand.com , KBA , BC-NEO-CMDTOOL , Command Line Framework for SAP Cloud Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.