SAP Knowledge Base Article - Preview

3207085 - Unable to find valid certification path to requested target error when calling mail server from CPI

Symptom

When calling a mail server from CPI via a Mail receiver adapter, the call is failing with the following error - 

  • [org.apache.camel.RuntimeCamelException - javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: 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], cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


Read more...

Environment

  • SAP Cloud Integration
  • SAP Integration Suite
  • SAP Business Technology Platform

Keywords

CPI, HCI, mail server, SMTP, certificate, connectivity test, SunCertPathBuilderException, unable to find valid certification path to requested target, PKIX path building failed, Could not convert socket to TLS, mail receiver adapter, server certificate, cert, root, trust , KBA , 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.