Rest API Integration

0
Hi All,   I have been trying to integrate REST API calls into our Mendix application but been encountering below error, have read through existing solutions on forum and added SSL certificates for the REST Service host server into the Settings ->Certificates and in local settings. This has not solved the issue for us. Deployed on on-prem instance too but same error in that case too. Is there something I might be missing?  Error calling REST serviceat ApplicationConfig.ACT_FetchRequests (CallRest : 'Call REST (GET)')Advanced stacktrace:at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:79)Caused by:java.security.PrivilegedActionException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetat com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:79)Caused by:nullat com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:79)Caused by:PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetat com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:79)
asked
1 answers
1

Hi Ashirwad,

Seems that your issue is related with the path of the certificate because is returning a null value.

Take a look at this docs:

- Teach you how to configure the certificates on the environment (https://docs.mendix.com/developerportal/deploy/certificates/)

- Configure locally (https://docs.mendix.com/howto/integration/use-a-client-certificate/)

 

If this answer helped you, please mark as accept :)

 

Best Regards,

Ricardo Pereira

answered