How to configure Outbound REST with SSL client certificate and OAuth2.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2017 04:15 AM
Hi, all
I want to configure Outbound REST communication with a API provider on servicenow(Istanbul).
This API provider required OAuth2.0 authentication for REST communication.
But, API client(ServiceNow or other tool) needs SSL client certification to communicate with the server(API provider) on any communication not limited to REST communication.
So. i configured below properties.
1. System Definition > Certificates
Uploaded X.509 Certificate(client certification for servicenow) to access API provider server.
2. System OAuth > Application Registry
Setting oauth profile for authentication with API provider
(Client ID, Client Secret, Grant type, Token URL, Redirect URL)
3. System Web services > Outbound > REST message
Setting REST communication profile to authenticate with api provider
(Endpoint:API provider's getting oauth token url, Authentication type: OAuth2.0, OAuth Profile: selected above setting)
After above onfiguration, i tested "Get OAuth Token" on REST message.
But result is below:
OAuth flow failed. Verify the configurations and try again. Error detail:javax.net.ssl.SSLHandshakeException: Received fatal alert:
certificate_unknown
So, what should i do to fix this error? or what should i configure to work well above require?
Regards,
Wataru
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2018 10:39 AM
Did you ever figure this out? I'm getting a similar error when trying to do the same.