ddnicholls1 Absent Member.
Absent Member.
339 views

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?

    Thanks
    Dean
Labels (1)
0 Likes
3 Replies
AutomaticReply Absent Member.
Absent Member.

Re: REST driver Certificate Authentication

ddnicholls,

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 https://www.microfocus.com/support-and-services and search the knowledgebase and/or check
all the other self support options and support programs available.
- Open a service request: https://www.microfocus.com/support
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.microfocus.com)
- You might consider hiring a local partner to assist you.
https://www.partnernetprogram.com/partnerfinder/find.html

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.microfocus.com/faq.php

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
http://forums.microfocus.com



0 Likes
sma2006 Outstanding Contributor.
Outstanding Contributor.

Re: REST driver Certificate Authentication

Hi,

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 (https://insomnia.rest/download/)

I hope this will help you.

Sylvain
0 Likes
ddnicholls1 Absent Member.
Absent Member.

Re: REST driver Certificate Authentication

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.
0 Likes
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.