Configure ACC to use a proxy for all traffic

task brazil Updated Sep 10, 2026 2 min read configure-acc-to-use-proxy.md
Raw file servicenow.com

Configure the Agent Client Collector (ACC) to use a proxy for all traffic by setting environment variables.

Before you begin

Consider the following aspects before configuration.

  • Ports, protocols, and firewall/proxy configurations required to enable ACC to reach the ServiceNow cloud
  • Network-based security tools (IDS, proxy, SSL interception, NAC) that might block ACC connectivity
  • DNS resolution and routing for stable connectivity and failover support
  • Support of WebSockets by the proxy
  • Firewall rules that prohibit access to ITOM gateway

Role required: admin

About this task

Proxy setup is needed in the following use cases:

  • You're using ACC for DEX or ACC-V without a MID Server.
  • You must route traffic through an internal proxy to reach the ServiceNow cloud.

Procedure

  1. Run diagnostics to verify that the endpoint can reach ServiceNow before making changes.

Option

Command

Windows

PowerShell: .\servicenow-net-check.ps1

macOS

Text
# See if DNS resolution succeedsnslookup itomcnc-prod-gateway-amer.sncapps.service-now.com
# See if you can ping ITOM cloud servicesping -c 5 itomcnc-prod-gateway-amer.sncapps.service-now.com
# See if you can establish a TCP connectionnc -zv itomcnc-prod-gateway-amer.sncapps.service-now.com 443
# See if you can make a HTTP request to the ServiceNow install servercurl -i https://install.service-now.com/
2. Open the `acc.yml` file from the following location.
|Option|Path|
|------|----|
|**Windows**|`C:\ProgramData\ServiceNow\agent-client-collector\config`|
|**macOS**|`/Library/Application\ Support/servicenow/agent-client-collector/config`|
  1. If your ACC version is later than 4.3.0, set the proxy in the acc.yml file as shown in the following example:

    https-proxy: "http://intproxy0.your-corp.com:8080"

  2. Set up proxy authentication by setting the user name and password in the environment variable itself:

    HTTPS_PROXY="http://username:password@intproxy0.your-corp.com:8080"

  3. Set the NO_PROXY environment variable to a comma-separated list of hosts that bypass the proxy.

    For example, localhost.

  4. Test connectivity using a proxy server with mTLS used by ITOM Cloud Services.

    You need the following files from your local endpoint:

    • cacert.pem - Certificate Authority certificate file used to validate the server identity (downloaded from ServiceNow with openssl)

      • Windows:

        Shell
        openssl s_client -showcerts -connect itomcnc-prod-gateway-amer.sncapps.service-now.com:443 <NUL | findstr /B /C:"-----BEGIN CERTIFICATE-----" /C:"-----END CERTIFICATE-----" > cacert.pem
      • macOS:

        Shell
        openssl s_client -showcerts -connect itomcnc-prod-gateway-amer.sncapps.service-now.com:443 </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > cacert.pem
    • cnc_chain.crt - client certificate file to present to the server for mutual TLS authentication (agent-client-collector/cert/cnc).

    • priv_key.pem - private key associated with the client certificate (agent-client-collector/cert/cnc).

  5. Fetch assets using a proxy with mTLS.

    Text
    # Will attempt to fetch an asset used by ACC-V using a proxy. The file is not saved.# Remember, replace intproxy0.your-corp.com:8080 with your internal host and port.curl -v --proxy http://intproxy0.your-corp.com:8080 --cacert cacert.pem --cert cnc_chain.crt --key priv_key.pem --request GET --output NUL https://itomcnc-prod-gateway-amer.sncapps.service-now.com:443/content/v1/assets/afaa52edc32f7150f640f2ff050131c8/a4ef65d00adbab1659f460f8d4e311d8db65f519994f63d176951ce1e0297e08
  6. Inspect the cURL output to verify that the command succeeded through the proxy.

Parent Topic:DEX advanced configuration

Keywords configure acc proxyacc proxy settingsproxy trafficroute acc through proxyagent client collector proxyproxy authentication
Search documentation
Search document titles and file paths on the brazil branch