Subscription-manager register failed behind proxy

Latest response

Hi,

I would like to subscribe a new rhel7 server virtual system behind a proxy.

vi /etc/rhsm/rhsm.conf

an http proxy server to use

proxy_hostname = nameofmyproxyserver

port for http proxy server

proxy_port = 8080

user name for authenticating to an http proxy, if needed

proxy_user = mysusersomethinglikethat(domain\myusername)

password for basic http proxy auth, if needed

proxy_password = mypassword

Subscription-manager register --auto-attach
failed

tail -f /var/log/rhsm/rhsm.log

File "/usr/lib64/python2.7/httplib.py", line 810, in connect
self._tunnel()
File "/usr/lib64/python2.7/httplib.py", line 792, in _tunnel
message.strip()))
error: Tunnel connection failed: 407 Proxy Authentication Required

I try this too :

export http_proxy=http://user:pasword@proxy-server.mycorp.com:port/
export https_proxy=http://user:pasword@proxy-server.mycorp.com:port/

Same problem :(

i have checked my username password and proxy address . It the same setting i have used on another server and it's works . That server can get the update from redhat.

Can you help me ?

Responses