unable to find valid certification path to requested target

3
Dear All,  I am new in Mendix, I am receiving error "unable to find valid certification path to requested target” when I am calling Fiori based JSON API. target ssl certificate has been expired. How can I by pass target SSL in Mendix?  can any one guide me?  ( Target certificate issue).   om.mendix.modules.microflowengine.MicroflowException: Error calling REST service     at MyFirstModule.Microflow (CallRest : 'Call REST (GET)') Advanced stacktrace:     at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:60) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target     at com.mendix.integration.util.PrivilegedUtil$$anonfun$withPrivileged$2.applyOrElse(PrivilegedUtil.scala:17) Caused by: java.security.PrivilegedActionException: null     at java.base/java.security.AccessController.doPrivileged(Native Method)     at com.mendix.integration.util.PrivilegedUtil$.$anonfun$withPrivileged$1(PrivilegedUtil.scala:13)     at scala.util.Try$.apply(Try.scala:213)     at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:13)     at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:26)     at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:75)     at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:55)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:50)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:217)       om.mendix.modules.microflowengine.MicroflowException: Error calling REST service     at MyFirstModule.Microflow (CallRest : 'Call REST (GET)') Advanced stacktrace:     at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:60) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target     at com.mendix.integration.util.PrivilegedUtil$$anonfun$withPrivileged$2.applyOrElse(PrivilegedUtil.scala:17) Caused by: java.security.PrivilegedActionException: null     at java.base/java.security.AccessController.doPrivileged(Native Method)     at com.mendix.integration.util.PrivilegedUtil$.$anonfun$withPrivileged$1(PrivilegedUtil.scala:13)     at scala.util.Try$.apply(Try.scala:213)     at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:13)     at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:26)     at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:75)     at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:55)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:50)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:217)
asked
1 answers
1

Hi Muhamamd,

Take a look into the following :

https://forum.mendix.com/link/questions/88528

Hope it helps you out

answered