Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: rbfss on February 22, 2014, 10:58:35 AM

Title: wget and https
Post by: rbfss 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.
Title: Re: wget and https
Post by: Akane on February 22, 2014, 12:10:23 PM
Try to install wget extension and run 'hash -r' to use /usr/local/bin/wget.
Title: Re: wget and https
Post by: Rich 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
Title: Re: wget and https
Post by: rbfss on February 22, 2014, 01:14:41 PM
Thanks for the link.  Is TinyCore's wget compiled with SSL support?
Title: Re: wget and https
Post by: Rich on February 22, 2014, 01:16:57 PM
Hi rbfss
Yes.
Title: Re: wget and https
Post by: rbfss 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.
Title: Re: wget and https
Post by: gerald_clark on February 22, 2014, 02:16:23 PM
Show the output of 'which wget'.
Title: Re: wget and https
Post by: rbfss on February 22, 2014, 02:18:06 PM
it's:

/usr/bin/wget
Title: Re: wget and https
Post by: gerald_clark on February 22, 2014, 02:20:06 PM
You need to use wget.tcz.