Rest connector (POST) bearer token auth

Hi. I have a POST request, which works PERFECTLY WELL with cURL and Node.js (fetch, axios…). Following the API provider doc., my headers are set as follows (Node.js/fetch):

headers: {Authorization: "Bearer " + process.env.my_API_key, ‘Content-Type’: ‘application/json’}

I try to simply reproduce this in Camunda 8 self-managed:

Of course, ‘my_API_key’ process var. is set to the good value (string). I also try without success the Camunda “Authentification” field with “Type” set to “Bearer token” and “API key”, trying some combination(s) of value(s).

The Camunda error message is poor just saying that the request fails… Any idea? For for any help…

It works in fact, sorry about the raising topic. The problem is the use of a certificate. My Node.js code use this certificate while the JVM used by Camunda doesn’t. The JVM used by Camunda must then be configure so that the BPMN REST CONNECTOR may go externally using the certificate.
See also: How to connect to a URL using self-signed certificate with Rest Connector?