LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-15-2007, 10:07 AM   #1
IanSolo666
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
[rhel-5] yum through http proxy


Hello everybody,

We are using several Red Hat Enterprise 5 servers in a DMZ which are only able to communicate with internet through an HTTP proxy. The machines are registered (with rhn_register), the logs show that the up2date authentication is successfully retrieved and the proxy access correctly configured. If it wasn't, I wouldn't be able to register.

My problem is that I cannot do the updates with yum... The proxy is only for HTTP and not HTTPS. So I tried to use the workaround in the conf file /etc/sysconfig/rhn/up2date with the "noSSLServerURL" option.

I checked the logs on the proxy server and it receives the requests but they are always on https and so they cannot go through. I always get the yum error message because of the impossible communication :

Error: Cannot open/read repomd.xml file for repository: rhel-i386-server-5

With rhel-4, we had a lot of other parameters to configure up2date. Now with yum, it's more restrictive.

Any idea ? It's important for us to be able to perform updates on those servers in the DMZ. Please help !
 
Old 10-15-2007, 11:14 AM   #2
noran01
LQ Newbie
 
Registered: Oct 2007
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by IanSolo666 View Post
Hello everybody,

We are using several Red Hat Enterprise 5 servers in a DMZ which are only able to communicate with internet through an HTTP proxy. The machines are registered (with rhn_register), the logs show that the up2date authentication is successfully retrieved and the proxy access correctly configured. If it wasn't, I wouldn't be able to register.

My problem is that I cannot do the updates with yum... The proxy is only for HTTP and not HTTPS. So I tried to use the workaround in the conf file /etc/sysconfig/rhn/up2date with the "noSSLServerURL" option.

I checked the logs on the proxy server and it receives the requests but they are always on https and so they cannot go through. I always get the yum error message because of the impossible communication :

Error: Cannot open/read repomd.xml file for repository: rhel-i386-server-5

With rhel-4, we had a lot of other parameters to configure up2date. Now with yum, it's more restrictive.

Any idea ? It's important for us to be able to perform updates on those servers in the DMZ. Please help !
I thought yum was only on Fedora distro's? You should be running up2date...also if you run up2date --help there are a lot more run-time options you can set.
 
Old 10-16-2007, 01:46 AM   #3
IanSolo666
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Original Poster
Rep: Reputation: 0
No, no. Up2date was still used with RHEL-4 but with the standard install of RHEL-5, up2date has been changed for yum. To use yum with RHEL-5, you need to register with rhn_register and then you can perform updates.

Everything works fine from the backend when you use the standard internet connection, but from a DMZ and through a specific proxy, it doesn't work...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
http Connection refused from portal server - on RHEL 5 deepshar027 Linux - General 1 09-13-2007 03:17 PM
proxy via http sharadshankar Linux - Software 2 02-15-2006 05:57 PM
Only allow HTTP access through proxy? gjhicks Linux - Security 7 05-12-2005 04:52 AM
"socks5" -> "http" proxy protocol, or ssh tunnel to sock5 ? I'm beyond http p vmicho Linux - Networking 2 12-16-2003 05:32 AM
ntpdate through http proxy thas Linux - Networking 0 05-14-2003 01:50 PM


All times are GMT -5. The time now is 10:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration