
- 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:25 AM
Hi
Please refer below thread it might help you
Thanks
Himanshu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2020 06:18 AM
Thank you Himanshu,
I inserted the certificate in the System Definition > Certificates as said in the link above you posted, but still got the error calling the api, even if the button Validate Stores/Certificates return Valid trust_store as you can see in the screenshoot.
Any idea what's I'm doing wrong?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2020 12:49 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2020 07:29 AM
Is it possible to disable SSL?
I try this but nothing change:
https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/security/reference/disable-outbound-ssl.html

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2020 06:54 AM
Was the certificate had not the Subject Alternative Name (SAN) parameter with the matching IP address.
Now I got this error:
org.apache.commons.httpclient.HttpException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
maybe there is something wrong again with the new certificate.