Client certification in the cloud

1
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?
asked
2 answers
0

Custom cloud or default cloud? Anyway, we used this link in the past.

answered
0

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:

CACertificates:

"/home/environmentname/.ssh/somecertificate.cer"

Make sure you change the path to the certificate according to your environment in the cloud.

Regards,

Ronald

answered