missing certificate when using REST connector in the Studio

Hello,

I am trying to use the REST connector in order to connect to a REST service that requires certificate in order to connect. It's http, not https.

Following error appears when running the process in the Studio:

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Can someone help me and explain how to setup the certificate usage on the connector wizard?

 

Hi Haris,

thanks for your confidence in Bonita platform!

The connector has a configuration option "Trust self-signed certicifate" that you must check if your rest endpoint use .. a self signed certificate.

You can also use a dedicated trust stor/key store to add your certificates 

Those links may help you:

  • https://stackoverflow.com/questions/47434877/how-to-generate-keystore-and-truststore
  • https://docs.oracle.com/cd/E19509-01/820-3503/6nf1il6er/index.html

Hope it helps,

Laurent

 

 

 

Thanks for your quick answer!

The problem is that I do not have Administrator rights on my PC, so I cannot run the keytool as you propose. Is there an alternative that I can do on my PC to use my company certificate however?