We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Disable certificate check using REST webservice(using mid server)

Shuvaday1
Tera Contributor

Hi

Can someone please help how to i can skip the certificate check while connecting to thirdparty console using REST webservice,using mid server?

 

Thank You

SHuvaday Chatterjee

8 REPLIES 8

Check if these properties are false not recommended though

 "com.glide.communications.httpclient.verify_hostname"

"com.glide.communications.httpclient.verify_revoked_certificate"

probably the ones you did from that article still check 


***Mark Correct or Helpful if it helps.***

Shuvaday1
Tera Contributor

still getting this error:
org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted

Check these solved threads please with same question
Mid Servers Down - Session contains no certificates 
org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted 


***Mark Correct or Helpful if it helps.***

Shuvaday1
Tera Contributor

I actually followed these steps in another instance,where i was getting "org.apache.commons.httpclient.HttpException: java.security.cert.CertificateException: No subject alternative name for the host" error.

Can someone please help me here,as I am blocked on this for quite sometime.