LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2007, 10:44 AM   #1
sudevank
LQ Newbie
 
Registered: Mar 2007
Posts: 27

Rep: Reputation: 15
wget with https and proxy in redhat


Hi,
I want to use wget with https and proxy. is it possible? i am getting n error 400:Bad request. Fedora it is working fine.
-thanks
 
Old 03-28-2007, 06:02 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Edit /etc/wgetrc or better yet edit or create if it doesn't exist ~/.wgetrc and use the following:
Code:
http_proxy = https://proxy.domain.com:port
proxy_user = userid if any
proxy_passwd = passwd if any
 
Old 03-28-2007, 09:17 AM   #3
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Rep: Reputation: 30
I remember having HUGE problems getting wget to work behind a proxy. I'm pretty sure that Bathory is 100% correct, but if it still doesn't work for you, add a / after the http_proxy = https://proxy.domain.comort (so http_proxy = https://proxy.domain.comort/) I remember that this / meant 6 hours of major head sctaching but I can't remember if it needs one or doesn't!!
 
Old 03-29-2007, 01:36 AM   #4
sudevank
LQ Newbie
 
Registered: Mar 2007
Posts: 27

Original Poster
Rep: Reputation: 15
Done

I belive redhat 9 default wget not supporting https with proxy. i was getting an error message Bad request.

so i downloaded the latest wget from
http://ftp.gnu.org/pub/gnu/wget/
and latest OpenSsl From
http://www.openssl.org/source/
and compiled Open ssl first
then compiled wget
Code:
make distclean
./configure  --with-libssl-prefix=/usr/local/ssl/ 
make
the wget will be in ./src/wget
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dedicated HTTPS proxy? anybody1234 Linux - Security 16 11-08-2005 10:07 PM
Apache Https & Proxy wwnexc Linux - Software 0 11-04-2005 04:01 PM
SuSE 9.1 has no HTTPS through our Proxy slacker9876 Linux - Networking 2 05-13-2004 08:13 PM
https proxy (???) aaronluke Linux - Networking 3 09-12-2002 09:35 AM
Squid proxy and https roba Linux - Software 2 08-14-2002 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration