ddnicholls1

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-11-15
05:00
399 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:
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:
- What do we set the Authentication method to, Basic or Anonymous?
- 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?
- 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
3 Replies
AutomaticReply

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-11-19
05:30
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
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
sma2006

Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-11-21
10:41
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
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
ddnicholls1

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-11-22
04:39
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 REST connection looks to be fine, it is the relevant settings in the IDM connector that we're struggling with.