SAP Knowledge Base Article - Preview

2396955 - XMLStreamException because of the hostname mismatch in the target URL and CN field of the certificate

Symptom

During the message processing in HCI IFlow you see the following error message:

Error_hostname_mismatch.JPG

org.apache.cxf.interceptor.Fault: Could not generate the XML stream caused by: javax.xml.stream.XMLStreamException: java.io.IOException: The https URL hostname does not match the Common Name (CN) on the server certificate in the client's truststore.  Make sure server certificate is correct, or to disable this check (NOT recommended for production) set the CXF client TLS configuration property "disableCNCheck" to true.., cause: java.io.IOException: The https URL hostname does not match the Common Name (CN) on the server certificate in the client's truststore.  Make sure server certificate is correct, or to disable this check (NOT recommended for production) set the CXF client TLS configuration property "disableCNCheck" to true.


Read more...

Environment

SAP Cloud Platform Integration

Product

SAP Cloud Platform Integration for process services 1.0

Keywords

HCI, HANA Cloud Integration, HCP Integration Service, outbound, message processing, IFlow, Integration Flow, request, response, SOAP, HTTP, HTTPS, adapter, receiver, endpoint, endpoint URL, XMLStreamException, IOException, fault, SoapFault, certificate, Common Name, CN, disableCNCheck, SAP Cloud Platform Integration , KBA , LOD-HCI-PI-RT , Integration Runtime , Problem

About this page

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

Search for additional results

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