- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2020 05:12 AM
Hi,
In ServiceNow integration, how can I skip the SSL verification on RESTMessageV2?
var rm = new sn_ws.RESTMessageV2();
rm.setHttpMethod('post');
rm.setBasicAuth(userName,password);
rm.setEndpoint(url);
var response = rm.execute();
anything I missed to set in the rest message attribute?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2020 10:57 PM
Hi Siva,
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" to false
Hope it will solve your issue.
Regards
Omkar Mone
2020 Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2020 02:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2020 10:54 PM
Hi,
I am trying to to call the external API using RESTMessageV2. But I got the below error message.
Also my external API has self-signed.
How I can skip / any steps to verify the self-signed ssl verification steps?
Error Message: org.apache.commons.httpclient.HttpException: java.security.cert.CertificateException: No subject alternative DNS name matching XXXX found.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2020 10:57 PM
Hi Siva,
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" to false
Hope it will solve your issue.
Regards
Omkar Mone
2020 Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2020 05:03 AM
Hi, Which menu / path I can access this form?