how to use PROXY from CLI (bash) with AD authentification ?

Latest response

Hello

how to use PROXY from CLI (bash) with AD authentification ?

I tryied to use the CLI HTTP_PROXY setting
like that :

export HTTP_PROXY='http://myADdomain\me:password@proxy.foo.bar.fr:8080/'
export HTTPS_PROXY....
export FTP_PROXY....

just like it is setup on my workstation to use same authentification to the proxy.
My goal is to use curl to manage/install some applications.

then I go a failure authentification .... just like that :

* Connected to proxypac.........................................fr (IP.IP.IP.IP) port 8080 (#0)
* Establish HTTP proxy tunnel to deb.nodesource.com:443
* Proxy auth using Basic with user '.....................................'
> CONNECT deb.nodesource.com:443 HTTP/1.1
> Host: deb.nodesource.com:443
> Proxy-Authorization: Basic YWRc...................................SEh
> User-Agent: curl/7.29.0
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 407 Proxy Authentication Required
< Proxy-Authenticate: NEGOTIATE
< Proxy-Authenticate: NTLM
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: text/html; charset=utf-8
< Proxy-Connection: close
< Connection: close
< Content-Length: 1536
<
* Ignore 1536 bytes of response-body
* Received HTTP code 407 from proxy after CONNECT
* Connection #0 to host proxy............fr left intact

I browsed around 2 hours .. I give up (for the moment) ...so any help would be appreciated.

Responses