Outbount rest api got ssl error

Nicol_
Giga Contributor

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:
find_real_file.png

got this ssl error:

find_real_file.png

even if I've added the machine certificate to the SystemDefinitiion -> Certificate

find_real_file.png

Any idea what I'm doing wrong?

Thanks

1 ACCEPTED SOLUTION

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

View solution in original post

16 REPLIES 16

Thank you Palanikumar, I add the property

find_real_file.png

but still have the same error calling the API.

I add it in the proper place?
Could depend on the scope of the app?

Hitoshi Ozawa
Giga Sage
Giga Sage

Seems like similar problem discussed in the following StackOverflow thread.

https://stackoverflow.com/questions/19540289/how-to-fix-the-java-security-cert-certificateexception-...