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 - Mail adapter in exception subprocess is failing with a certificate error.
Read more...
Environment
- SAP Cloud Integration
- SAP Integration Suite
- SAP Business Technology Platform
Product
Cloud Integration all versions ; SAP Business Technology Platform all versions ; SAP Integration Suite all versions
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.