Skip to main content

Posts

Showing posts from February, 2019

wget maven ntlm proxy

How to make wget, curl and Maven download behind an NTLM Proxy
Working on CentOS, behind an NTLM proxy:
yum can deal without problem with a NTLM Proxywget, curl and Maven cannotThe solution is to use "cntlm".
"cntlm" is a NTLM client for proxies requiring NTLM authentication.

How it works
Install "cntlm"Configure "cntlm" by giving it your credentialsby giving it the NTLM Proxy Start "cntlm" deamon (it listens to "127.0.0.1:3128")Configure wget, curl and Maven to use "cntlm" instead of using directly the NTLM ProxyNote: You will have then a kind of 2 stages Proxy: cntlm + the NTLM proxy

Configure CNTLMAfter installing cntlm, the configuration file is in "cntlm.conf".

You must have your domain (in the Windows meaning), proxy login and  proxy password.
Mine are respectively: rktmb.org, mihamina, 1234abcd (yes, just for the example)

You must have you NTLM Proxy Hostnama or IP and port
Mine are respectively: prx.r…