How to connect NIM (Normalized Integration Management) to ServiceNow (SNow) via a Proxy server using AT-TLS.
For our testing we have installed CCproxy (it is an open source) on a machine and added the proxy machine details in
NIM / SNow configurations like below and clicked on the save & test button to establish the connection to SNow:
The CCproxy is installed on the machine with the ip nnn.nnn.17.155.
This is the CCproxy server screen where it was showing the time, user and ip address of the NIM request.
Here nnn.nnn.89.212 is the machine where NIM installed and from where the request is coming for the proxy server.
Here is the WireShark logs/screen where we can see that the connection is established with TLS 1.2
with source and destination IPs and ports.
Once the connection is established the default connection timeout with Basic authentication is 30 mins and it is configurable.
With OAuth, the connection time will depend on the access and refresh tokens. Usually refresh token time can be set as 30 mins and
the access token time can be set as 3-5 mins. So once the access token is expired it will get a new access token using the refresh
token and if both the tokens expired it will re-establish the connection.