Can call API in Postman but failed in mendix

0
I tried to call an API in Postman with GET Method and it succeesed. But when I tried to call it in my local Mendix it threw an error PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. How to find the certificate and apply it in mendix?
asked
1 answers
0

Hey Wahyu,

 

It seems the API is using some certificate for authentication while making API call. I believe the certificate needs to be provided in TLS layer or authentication is based on mTLS protocol.

 

Now to make this work, you need to generate client certificate in .p12 format and then upload in certificate section and then try again. I hope this works for you.

 

Thanks & Regards,

Naman

answered