
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2020 07:05 AM
Hi!
I'm creating a ServiceNow application having the purpose to get some data via api from another platform and push that data inside tables.
Created the rest api message like this:
got this ssl error:
even if I've added the machine certificate to the SystemDefinitiion -> Certificate
Any idea what I'm doing wrong?
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2020 08:50 PM
Hi
You have to set below property false because the HTTPClient to not make the hostname verification against the ssl certificate provided.
"com.glide.communications.httpclient.verify_hostname" -> false
Thanks
Himanshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2020 07:09 AM
Hi,
The reason the error is occurring is because the SSL certificate of the target you’re connecting to isn’t considered valid by your Java instance’s keystore. This may be because the certificate itself is invalid
Follow the link:
Thanks
Sudhanshu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2020 07:25 AM
Hi Sudhanshu and thank you for the quick reply 🙂
Yes, I'm trying to communicate with a service with a self signed certificate. I though that adding the certificate in ServiceNow was enough to validate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2020 12:22 AM
Hi Nicolo,
Means according to you certificate is valid.
Right?
Thanks
Sudhanshu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2020 11:29 PM
It is auto-generated certificate but is valid.