0 Replies Latest reply on Sep 30, 2016 1:52 PM by julianonunes

    Applications that run on command prompt getting authentication required

    julianonunes

      Previously my company was using TMG with NTLM auth and I had to configure Fiddler to work as an HTTP tunnel to make applications running on command prompt work with NTLM auth (Fiddler injected an x-autoauth header to every request). Now they have moved to Web Gateway and all requests are returning code 407 on Fiddler.

       

      My Windows is not in the same domain as the Web Gateway proxy, but I have valid credentials. How can I make tools like Fiddler, Visual Studio/Nuget and GIT work with Web Gateway auth?

       

      Here is the result of a Fiddler session:

       

      CONNECT www.telerik.com:443 HTTP/1.1

      Host: www.telerik.com:443

      User-Agent: Fiddler/4.6.2.32002 (.NET 4.6.2; WinNT 10.0.14393.0; en-US; 4xAMD64; Auto Update; Full Instance)

      Proxy-Authorization: Negotiate TlRMTVNTUAABAAAAl4II4gAAFFFFFFFFFFFFFFFFFFFAKADk4AAAADw==

       

       

      HTTP/1.1 407 authenticationrequired

      Via: 1.1 172.99.71.201 (McAfee Web Gateway 7.6.1.1.0.21006)

      Date: Fri, 30 Sep 2016 18:11:09 GMT

      Content-Type: text/html

      Cache-Control: no-cache

      Content-Length: 3007

      Proxy-Connection: Keep-Alive

      Proxy-Authenticate: NTLM

      Proxy-Support: Session-Based-Authentication