A small post but this took me ages to discover. I was bashing my head, finally decided to check the pac (Proxy Auto-Config) file in Microsoft Edge browser and discovered I was using the wrong proxy server. If this doesn't work for you, check you've definitely got the right proxy server!
Here we are using the command prompt (CMD>):
curl -v -x http://yourproxy.yourorg.com:80 --proxy-ntlm -U "DDDD\XXXXXXXX" https://www.bbc.co.uk/ --max-time 20
Replace proxy and username (here in domain\ID format).
This would also work. Here we're using %5C for the \:
set HTTP_PROXY=http://DDDD%5CXXXXXXXX:PASSWORD@yourproxy.yourorg.com:80
set HTTP_PROXY=http://DDDD%5CXXXXXXXX:PASSWORD@yourproxy.yourorg.com:80
curl -v https://www.bbc.co.uk
Replace proxy, username and password.

Comments
Post a Comment