We are using an imported webservice to request data from a SAP system. Upon sending the request we receive the following error: Error code: sun.security.provider.certpath.SunCertPathBuilderException Error title: unable to find valid certification path to requested target After contacting a system administrator we found out that the system we are trying to contact requires every message sent to have a client certificate attached that is trusted by them. In the modeler you can go to Project->Settings->Certificates and add certificates there. How can I get this working in the cloud?
Custom cloud or default cloud? Anyway, we used this link in the past.
In the custom cloud you place the certificate in the .ssh directory and adjusted the m2ee.yaml file in the .m2ee directory.
In the yaml file you add in the 'The following options can only be set here' part (last part of the yaml file) the following lines:
Make sure you change the path to the certificate according to your environment in the cloud.