How to disable certificate path validation?

0
 I need to call out to a REST API that uses a self-signed certificate, which fails at runtime: Advanced stacktrace: at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:59) 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) Is there a way to either add the self-signed certificate to a trust-store or disable certificate path validation for the module or the whole application?  Note that my application runs in the cloud, and not locally.   Thanks! JP  
asked
1 answers
0

Yes, you can add your certificates, so they will be trusted

See https://docs.mendix.com/developerportal/deploy/environments-details

answered