ALERT! The community will be read-only starting on April 19, 8am Pacific as the migration begins. Read more for important details.
ALERT! The community will be read-only starting on April 19, 8am Pacific as the migration begins.Read more for important details.
Absent Member.
Absent Member.

REST driver Certificate Authentication

Hi, I’d like to get some clarity on the setup required for client certificate authentication to a web service using the REST driver. There are hints in the documentation and in the forums, but we cannot get this working.

What we are trying to do is authenticate to a web service using certificate authentication via the REST driver. We have exchanged and minted certs and ours is in the cacerts keystore that IDM uses.

I believe we should use the TrustStore file as we are using remote server authentication, but no matter what configuration I use I get “401 unauthorised” errors.

I have attempted to use mutual auth as well with the same result.

So to ascertain it is not our end - I believe I have tried every combination with no success - for the auth model we are trying:

  1. What do we set the Authentication method to, Basic or Anonymous?
  2. If we set it to basic do we need to set the Authentication ID and do we use the keystore password as the Authentication password?
  3. Is using the TrustStore correct or should we be using the Keystore, and if so what do we put in the method/ID and password as above?

    Anything else I need to know that is not documented?

Labels (1)
3 Replies
Absent Member.
Absent Member.


It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

These forums are peer-to-peer, best effort, volunteer run and that if your issue
is urgent or not getting a response, you might try one of the following options:

- Visit and search the knowledgebase and/or check
all the other self support options and support programs available.
- Open a service request:
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (
- You might consider hiring a local partner to assist you.

Be sure to read the forum FAQ about what to expect in the way of responses:

Sometimes this automatic posting will alert someone that can respond.

If this is a reply to a duplicate posting or otherwise posted in error, please
ignore and accept our apologies and rest assured we will issue a stern reprimand
to our posting bot.

Good luck!

Your Micro Focus Forums Team



In this case I would suggest that you try first a manual authentication, did you do that already ?

If not, there is a free tool called "insomnia" that I use every time I want to setup a REST connection (

I hope this will help you.

Absent Member.
Absent Member.

Thanks Sylvain, yes we initially tried Basic username/password and that works fine. Thanks for the Insomnia tip, I've been using ARC.

The REST connection looks to be fine, it is the relevant settings in the IDM connector that we're struggling with.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.