Make mid server use Keystore

Ben65
Kilo Contributor

I am trying to make an outbound REST call from my instance and keep receiving handshake failures. I have added the appropriate certificates to the certificate table with no luck. Often times I receive a "Peer not authenticated" error. The interesting thing is that when I test this same call with a third party tool (SOAP UI) I am able to get the response that I am anticipating. 

I have a feeling that ServiceNow is not using the keystore when making these calls through the mid server. How can I tell the mid server to use a certain keystore?

2 REPLIES 2

Andrew Barnes -
ServiceNow Employee
ServiceNow Employee

Greetings Ben,

 Did you add the certificate to the mid server itself? https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/product/mid-server/concept/mid-s...

-Andrew Barnes
Join me at Developer Blog

Andrew,

 

So here is another question. Which cacerts file should I upload them to? The one in the agent dir or the one located in c:\program files 86\java.....cacerts?

 

Also, when would I need to upload them to the instance vs directly to the mid server?

 

Thank you,

Ben