Rest Message Error in HTTP Post Method

Ravi Kand
Tera Contributor

Dear Friends,

 

We are trying to test the connection from ServiceNow DEV instance to End Point below.

End Point: https://xx-xxxx-api/api/qs/oa2/v1/login/

 

I am able to connect from Postman to End Point successfully with Status 200 OK.

Getting the Access Token. But, getting error when connecting from ServiceNow.

 

Method: POST

HTTP Status: 0

Error Code:    0

 

We are getting the below Error:

The request failed: Request not sent to uri= https://xxx-xxxx-api/api/qs/oa2/v1/login/ : org.apache.commons.httpclient.HttpException: No issuer certificate found for xxx-xxxx-api

 

Please provide your suggestions.

 

Thank you..

12 REPLIES 12

Thanks for the reply.

Yes. The certificate is already available under x.509 certificates list.

 

My question:

How we connect this certificate to REST Message POST Method to test the connection between ServiceNow to End Point.?

 

This certificate is nowhere connected to BMC Remedy Flow Designer or REST Message. 

Do we have any place where we could connect this certificate?

Could you please suggest any idea.

Yes.

 

Are you making the Integration call using REST Message OR Have you configured Flow Designer and used Spokes for Integration with External endpoint?

 

REST Message will have "Mutual Authentication Profile" as a field on the REST Message record

 

Flow Designer will have the Spokes. Spokes are set up using a initial set up process. If you open the Action (which you are using to hit the external endpoint), you will be able to see what authentication it is using.

 

If my response helps you in any way, please mark my response as helpful or "Accept as Solution" so that your question will help others as well

Thank you

Hi Aniket,

 

Thank you for your support. I was on Sick Leave hence unable to reply.

I am new to development of Integrations.

 

Could you please suggest the best way to build Integration between ServiceNow and BMC Remedy.

 

If possible, please provide any documentation with steps.

 

Thank you,
Ravi

Aniket Bhanse
Tera Guru

The important thing to consider in such scenarios is the Authentication. What Authentication you are using in Postman VS what Authentication you are using in Servicenow?
You may have used a certificate in Postman which is why your connection is working fine from Postman whereas you need to check what certificate you have added in your Rest Message mutual authentication.

 

If my response helps you in any way, please mark my response as helpful or "Accept as Solution" so that your question will help others as well

Thank you

Hi Aniket,

 

Thanks for the reply.

Please refer the attached screenshot and suggest.

Mutual authentication profile is Empty and No Protocols listed.