WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: wget and https  (Read 10470 times)

Offline rbfss

  • Newbie
  • *
  • Posts: 4
wget and https
« on: February 22, 2014, 10:58:35 AM »
I running version 4.7 instead of 5.x because I need the openvpn extension.  Anyway, I can't get wget to download a file via https.  I've tried the wget extension but that doesn't seem to help.

Offline Akane

  • Jr. Member
  • **
  • Posts: 71
    • My home server by RaspberryPi
Re: wget and https
« Reply #1 on: February 22, 2014, 12:10:23 PM »
Try to install wget extension and run 'hash -r' to use /usr/local/bin/wget.
Sorry for my terrible English.
Country: Japan
Interested in: HPC, low-level programming, embedded system and so on

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11638
Re: wget and https
« Reply #2 on: February 22, 2014, 12:35:43 PM »
Hi rbfss
Quote
Anyway, I can't get wget to download a file via https.
You also don't provide any information. What command did you enter? What was the response?
Here is a link on wget and https:
http://www.gnu.org/software/wget/manual/wget.html#HTTPS-_0028SSL_002fTLS_0029-Options

Offline rbfss

  • Newbie
  • *
  • Posts: 4
Re: wget and https
« Reply #3 on: February 22, 2014, 01:14:41 PM »
Thanks for the link.  Is TinyCore's wget compiled with SSL support?

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11638
Re: wget and https
« Reply #4 on: February 22, 2014, 01:16:57 PM »
Hi rbfss
Yes.

Offline rbfss

  • Newbie
  • *
  • Posts: 4
Re: wget and https
« Reply #5 on: February 22, 2014, 02:12:43 PM »
When I enter for example:   wget http://google.com

I do get the index.html from Google as expected.

If however I enter: wget https://google.com

I get the response: 

wget:  not an http or ftp url: https://google.com


When I use the chrome browser, it loads https://google.com without any problems.

I've read several sections of the manual but It seems this should just work, and that's why I thought that maybe the TinyCore wget was compiled without support for SSL.

Thanks for any thoughts.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: wget and https
« Reply #6 on: February 22, 2014, 02:16:23 PM »
Show the output of 'which wget'.

Offline rbfss

  • Newbie
  • *
  • Posts: 4
Re: wget and https
« Reply #7 on: February 22, 2014, 02:18:06 PM »
it's:

/usr/bin/wget

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: wget and https
« Reply #8 on: February 22, 2014, 02:20:06 PM »
You need to use wget.tcz.