SAP Knowledge Base Article - Preview

3156901 - 502: Bad Gateway. Invalid Server certificate when connecting with Cloud Connector to an on-premise SAP system.


  1. Failed message in Cloud Integration

     An internal server error occured: HTTP response '502: Bad Gateway. Invalid server certificate' when communicating with <url>

        2. In the Cloud connector trace the error message is

              Caused by: Invalid server certificate

             Caused by: java.lang.IllegalArgumentException: Peer host '<hostname>' does not match certificate DNS names [hostname]



  • Connector Framework
  • Cloud Integration
  • SAP Integration Suite
  • SAP Cloud Connector 2.13.2 or higher


CONNECTOR FRAMEWORK 3.2 ; Cloud Integration 4.0 ; SAP Integration Suite 1.0


Cloud connector, CPI, CI , 502, bad gateway, Invalid server certificate. , KBA , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , LOD-HCI-PI-CON-SOAP , SOAP Adapter , 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.