- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2017 12:38 AM
Hi
I'm using POST method and I need to get 200 response and a json data. But I facing the following issue
It is working fine in other instance when the same headers with no authentication are given.
Thanks in advance
Regards
Dundi Vinayak
chirag.bagdaictomasijoshnerius
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2017 09:07 AM
Hi Dundi,
You can set the following property to false, this will cause the HTTPClient to not make the hostname verification against the ssl certificate provided.
"com.glide.communications.httpclient.verify_hostname" >> false
Hope it will solve your issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2017 02:24 AM
I'm not clear on that end!! I'm using jakartha version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2017 02:31 AM
You are making a POST from your servicenow instance to another endpoint. As if i understood well you are doing an Outbound REST call. On the machine where the endpoint is hosted, what java version do you have? Does it support TLS 1.2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2017 04:13 AM
Java version is 1.8

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2017 06:05 AM
Is you trying to communicate with a system that uses a self-signed key? This may help?
java - HttpGet with HTTPS : SSLPeerUnverifiedException - Stack Overflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2017 09:07 AM
Hi Dundi,
You can set the following property to false, this will cause the HTTPClient to not make the hostname verification against the ssl certificate provided.
"com.glide.communications.httpclient.verify_hostname" >> false
Hope it will solve your issue