Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Facing an issue with REST message call

Mahesh111
Tera Contributor

Hello Team,

 

I am calling the endpoint via REST outbound message from ServiceNow however I am getting below error.

We have added and validated the required certificate in certificates table.

Request not sent to uri=" org.apache.commons.httpclient.HttpException: java.security.cert.CertificateException: No subject alternative names matc"

 

we don't have the MID server over here. We directly call the endpoint from ServiceNow. Please guide us on this.

1 ACCEPTED SOLUTION

Try setting the system property "com.glide.communications.httpclient.verify_hostname" to false.

 "com.glide.communications.httpclient.verify_revoked_certificate" to false

If you do not find the property create it and set value and test

View solution in original post

10 REPLIES 10

Prabu Velayutha
Mega Sage

@Mahesh111  I will check and respond back.