- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 05:24 AM
Hi All,
I have set up a connection with OAuth 2.0 Rest Outbound. So I am using client id and client secret and token URL and all I have mapped in 'oauth_entity' table with grant type is "Resource Owner Password Credentials" and then profile is generated. Now I come to Rest outbound table and filled my end point and authentication as oauth 2.0 then i select the oauth profile that is generated.
Now when I click on "Get Oauth Token" link then it is asking for username and password, after filling the user name and password, I am getting a issue of SSL protocol exception as mentioned below -
ERROR
OAuth flow failed. Verify the configurations and try again. Error detail:javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
I am using Jakarta instance and I have tried above on postman rest client and that is working fine there. Issue is if it is working fine in postman then it should work fine in servicenow also.
Please help me to know that why I am getting this error, if I am doing some mistake in oauth or rest?
Appreciated for the help...
silas, please suggest...
Thanks & Regards,
Vidit
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 01:42 AM
Hi All,
I got the answer. There is SNI support in service now. So a two fqdn may refer to same IP address and port. So there is a property in snow-
The support for SNI was in fact introduced with the Jakarta release, however, it is not enabled by default. What you will need to do is create a new system property named "glide.outbound.tls_sni.enabled" and set the value as 'true' . With this enabled, the TLS handshake with the provider will include the host name so the correct certificates are presented for validation.
Thanks,
Vidit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 06:04 AM
Hello Vidit,
Does your rest endpoint accepts TLSv1.2 protocol?
Service-now REST tries to use "SSLv2 Hello" to ask what kind of encryption the server side requires. Does your endpoint support SSLv2?
Are you on java 1.8
Reference:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 01:42 AM
Hi All,
I got the answer. There is SNI support in service now. So a two fqdn may refer to same IP address and port. So there is a property in snow-
The support for SNI was in fact introduced with the Jakarta release, however, it is not enabled by default. What you will need to do is create a new system property named "glide.outbound.tls_sni.enabled" and set the value as 'true' . With this enabled, the TLS handshake with the provider will include the host name so the correct certificates are presented for validation.
Thanks,
Vidit