Skip to Content
0
Oct 10, 2019 at 05:49 AM

Not able to connect On-premise from Neo Cloud thru cloud connector https call

443 Views

Hi All,

Problem Statement:

Not able to connect On-Premise system from Neo cloud theu cloud connector. We get below error.

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

Description:

We have requirement of connecting On-Premise (GSAP) system from cloud (Neo) application to post the data thru cloud connector. It was working earlier when we were having TomEE6 and JDK7, when we upgrade to Tomcat8 and JDK8, we must do the code change to make HTTP connection using HTTP url connection library instead of HTTP client which is from Destination configuration of cloud.

Technologies used Earlier:

JDK7, TomEE7, HTTP client derived from Destination factor library

Technologies using Now:

JDK8, Tomcat8, Http URL connection (explicit) not from destination factory, we read destination details using configuration library.