Outbound Mutual Authentication through Mid Server

Justin Lee2
Tera Guru

We need to make an outbound call to a SOAP Api that requires an Certificate.  We were supplied the PFX cert and password, and set up mutual authentication on the Outbound call to use the certificate.  We did successfully validate the certificate in ServiceNow.

The API is also only accessible on Internal network, so we set up the outbound call to use the Mid Server.  

However, we the API receives the request, the Certificate is empty in the request.

Is there something additional we need to do to make a certificate-based outbound call work through the Mid Server?  

Thanks.

1 ACCEPTED SOLUTION

Yousaf
Giga Sage

Hi Justin,

Found this. Could this be related to your issue? Do check the other links in question of the link

Outbound mutual authentication does not support calls through the mid server.

here : How to setup Outbound Mutual Authentication in ServiceNow?


Mark Correct or Helpful if it helps.


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

View solution in original post

6 REPLIES 6

Yousaf
Giga Sage

Hi Justin,

Found this. Could this be related to your issue? Do check the other links in question of the link

Outbound mutual authentication does not support calls through the mid server.

here : How to setup Outbound Mutual Authentication in ServiceNow?


Mark Correct or Helpful if it helps.


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

Thanks Yousaf.  Yes, I found out after posting that Mutual Auth is not supported through Mid Server. We have gone a different route. 

Community Alums
Not applicable

Hi @Justin Lee2 ,

 

We have similar requirement where we need to connect to MuleSoft using mutual auth. MuleSoft is hosted on customer internal network. When trying to call MuleSoft APIs , we are getting error like java.net.UnknownHostException. Which I believe is because API host is in internal network. As we can not use Mid Server for mutual auth, we need to identify a way.

Could you please share what alternate route you implemented for your scenario.

 

Regards,

Ajeet

 

@Community Alums If the MIDs are hosted on Windows servers, please refer to my previous answer to use PowerShell to fetch the cert from the Windows cert store on the MID server and present it while calling the API using PowerShell command