Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Portage using https

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
siamect
n00b
n00b
Posts: 27
Joined: Fri Jun 08, 2007 7:14 am
Location: Thailand

Portage using https

  • Quote

Post by siamect » Tue Oct 30, 2007 3:08 am

Dear All
Is it possible to run the fetch from portage under https? I have set the GENTOO_MIRRORS="https://distfiles.gentoo.org/ " and it just tells me "Unable to establish SSL connection" so I guess there is a certificate problem.

We have a proxy with an antivirus scanner in the corporate gate out to internet.
The reason I want to do this is that some of the files get stuck in the antivirus for a long time (depenting on size) and some get stuck forever because of too many files in conpressed image or something like that.

Everything works fine except from this. So when I update world and there is a lot of files there is always a few files that get stuck until portage times out and I have to restart it again. I can manually download it using https but it is anoying.

Thanks and best regards.
Martin
Top
NaturalRandom
n00b
n00b
Posts: 24
Joined: Tue Dec 07, 2004 6:48 pm
Location: Next to neighbour

  • Quote

Post by NaturalRandom » Wed Oct 31, 2007 3:40 am

I think https://distfiles.gentoo.org/ doesn't exist. I tried connecting in both wget and my browser and it doesn't work.
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

  • Quote

Post by desultory » Wed Oct 31, 2007 5:21 am

Have you tried copying the default FETCHCOMMAND and RESUMECOMMAND from /etc/make.conf.example and adding --no-check-certificate to the options passed to wget? Note that you could still encounter problems with packages which require large files to be downloaded in ways which are scanned by the proxy, which could be the case with packages with mirror restrictions. Also, using --no-check-certificate deactivates all checks on the certificate used by the server, eliminating any security advantage that using HTTPS might otherwise provide.
Top
siamect
n00b
n00b
Posts: 27
Joined: Fri Jun 08, 2007 7:14 am
Location: Thailand

  • Quote

Post by siamect » Thu Nov 01, 2007 12:24 am

Thanks
That worked!
Still I have a long waiting time before the warning abou the certificate comes... but then it load the files properly.

Thanks a lot.
Martin
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

  • Quote

Post by desultory » Thu Nov 01, 2007 12:28 am

Not that it would actually fix that problem, but you might be able to hide it for most downloads by adding parallel-fetch to FEATURES in /etc/make.conf.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic