There are some http proxy configuration parameters on Administration/Server view. I configured the proxy settings as below and filled the NTLM fields according to my domain settings but nexus could not reach the repositories through http proxy because of NTLM authentication issues.
After some googling, I found that there is a workaround for this issue. First we need to download the cntlm authentication proxy and install it.
Extract the content of the cntlm zip file to a temporary location, enter the extracted directory and run the setup.bat that installs the cntlm under the Program Files and registers a new windows service named cntlm. Now we are able to start and stop cntlm service via windows services tool. After the installation of cntlm we need to configure it by editing cntlm.ini file that resides under the ~/Program Files/Cntlm/ folder.
#
# Cntlm Authentication Proxy Configuration
#
# NOTE: all values are parsed literally, do NOT escape spaces,
# do not quote. Use 0600 perms if you use plaintext password.
#
Username okahraman
Domain mydomain
Password mypassword # Use hashes instead (-H)
#Workstation netbios_hostname # Should be auto-guessed
Proxy aproxy:8080
#Proxy 10.217.112.42:8080
#
# This is the port number where Cntlm will listen
#
Listen 3128
Now local authentication proxy is ready and we need to configure the nexus with the local cntlm proxy.
and we are ready to go with nexus repository manager...

0 comments:
Post a Comment