Home › Knowledge base › Proxy authentication fails with NTLM
Proxy authentication fails with NTLM
- Article
- KB-1046
- Category
- Connectivity
- Applies to
- All platforms
Symptoms
cbk diagnostics network reports FAIL proxy: 407 Proxy Authentication Required. The proxy's log shows the agent's requests being rejected. Browsers on the same machine work.
Cause
The agent does not support NTLM proxy authentication. It supports no authentication, Basic, and Negotiate (Kerberos) on Windows. Browsers work because they run as the signed-in user and support NTLM.
NTLM support is not planned. It is a deprecated protocol and is being removed from Windows.
Resolution
In order of preference:
- Exempt the service hostnames from proxy authentication. Most proxies can allow unauthenticated access to a list of destinations. This is the simplest and most reliable option. The hostnames are under Network requirements.
- Bypass the proxy for those hostnames, allowing the devices direct outbound access on 443 at the firewall.
- Use Negotiate. If the proxy supports Kerberos, set
network.proxy_authtonegotiateand allow the devices' computer accounts. See Proxy settings. - Use Basic with a dedicated account, if your proxy and policy allow it.
Why the computer account?
The agent runs as Local System, which authenticates on the network as the computer account (DOMAIN\HOSTNAME$), not as any user. Proxy rules that allow "Domain Users" do not include computer accounts; add "Domain Computers" or a specific group.