Using loginservice API with Bonita HTTPS

1
0
-1

Hi community,

We have an installation where the url of Bonita Portal usage is https and port 8443.

I try to use this REST API loginservice in Postman but it asks me to disable SSL.

Does anyone have a roadmap on how to connect to Bonita to authenticate over https or what can I do?

Because I have an API that connects externally and I use the loginservice REST API to authenticate myself and it returns the following error:
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://ip:8443/bonita/loginservice": PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

What can I do to authenticate in https environment?

Thanks

Comments

Submitted by romain.bioteau on Tue, 09/13/2022 - 14:56

Hi,

Did you have a look to the documentation ?

1 answer

1
+1
-1
This one is the BEST answer!

Hello everybody.

I managed to solve it by renewing the time of the certificate applied in BonitaSoft.

I thank everyone.

Comments

Submitted by romain.bioteau on Tue, 09/13/2022 - 15:06

Awesome !
Thanks.

Notifications