SAP Knowledge Base Article - Preview

3745175 - "502 BAD_GATEWAY" error when creating HTTP Endpoint for SAP Cloud Connector in Landscape Management of SAP Cloud ALM

Symptom

The following error happens after Endpoint Connection Check for Cloud Connector in Cloud ALM - Landscape Management:

"SAP Cloud Connector: [502] Error during the URL - 502 Bad Gateway on GET request for "{Cloud Connector URL}": "Invalid server certificate"

In the cloud connector (ljs_trace.log / scc_core.trc) files, the following can be found:

Caused by: com.sap.core.connectivity.spi.ssl.SSLHandshakeException: Invalid server certificate
    at com.sap.core.connectivity.spi.ssl.SSLHandshakeValidator.assertServerCertificate(SSLHandshakeValidator.java:55)
    at com.sap.core.connectivity.spi.ssl.SSLHandshakeValidator.operationComplete(SSLHandshakeValidator.java:43)
    ... 31 common frames omitted
Caused by: java.lang.IllegalArgumentException: Certificate contains unsupported DNS name: xxx_xxx.xx
    at com.sap.core.connectivity.spi.util.CertificateUtils.assertDNSName(CertificateUtils.java:338)
    at com.sap.core.connectivity.spi.util.CertificateUtils.assertDNSNames(CertificateUtils.java:258)
    at com.sap.core.connectivity.spi.ssl.SSLHandshakeValidator.assertServerCertificate(SSLHandshakeValidator.java:53)
    ... 32 common frames omitted


Read more...

Environment

SAP Cloud ALM

Product

SAP Cloud ALM 1.0 ; SAP Cloud ALM 2.0

Keywords

Cloud ALM, Cloud Connector, Endpoint, 502, BAD_GATEWAY, Invalid server certificate , KBA , SV-CLM-INF-LMS , Landscape Management Service , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , 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.