Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: SilvrDrgn on February 08, 2003, 02:03:33 PM

Title: Problem with wget and OpenSSL support
Post by: SilvrDrgn on February 08, 2003, 02:03:33 PM
Howdy.  I installed wget and OpenSSL from Aminet (well, at least I think I installed them right).  The wget program appears to work fine, but I cannot get it to work with https (secure) links.  So, it appears that I have something wrong with the OpenSSL installation I did.  Here is the format of the command that I'm trying to run:

wget -v --http-user= --http-passwd=

The URL is a standard http link that redirects to https for authentication and cookie setup.  Then it redirects back to the original URL for loading.  The error messages that I get are as follows (links ommitted for security reasons):

Connecting to :80... connected!
HTTP request sent, awaiting response... 302 Found
Location: https:///login [following]
https:///login: Unknown/unsupported protocol.

Any ideas what I need to do to fix this??
Title: Re: Problem with wget and OpenSSL support
Post by: Colmiga on February 08, 2003, 02:22:05 PM
The OpenSSL package on Aminet is only the link libraries needed to add SSL support to programs. The wget you are using has no idea how to access SSL encrypted website because it hasn't been compiled with SSL support. The only way to get SSL support in wget is either to find a version of wget with SSL enabled or to recompile wget with SSL enabled.
Title: Re: Problem with wget and OpenSSL support
Post by: SilvrDrgn on February 08, 2003, 02:26:29 PM
Ah, that would explain it.  You or anyone else have any idea if I can compile the wget program from Aminet using SAS/C v6.58 ???
Title: Re: Problem with wget and OpenSSL support
Post by: KennyR on February 08, 2003, 04:21:55 PM
if it's a *ix port, it will generally need GCC to compile.
Title: Re: Problem with wget and OpenSSL support
Post by: dcr8520 on February 08, 2003, 04:50:11 PM
you have tryed my precompiled version? it work fine for SSL. :-)
Title: Re: Problem with wget and OpenSSL support
Post by: SilvrDrgn on February 09, 2003, 03:26:55 AM
@ dcr8520,
Where do I get your version of it??  Thank you in advance!
Title: Re: Problem with wget and OpenSSL support
Post by: dcr8520 on February 09, 2003, 02:40:15 PM
erm.. from my [x WWW] site  :-o

                ||
                \/
Title: Re: Problem with wget and OpenSSL support
Post by: SilvrDrgn on February 09, 2003, 02:59:04 PM
Looking.... sorted.... thanks!!
Title: Re: Problem with wget and OpenSSL support
Post by: SilvrDrgn on February 09, 2003, 03:44:13 PM
All right I got it downloaded and installed.  Now I'm getting the following:

Resolving ... done.
Connecting to []:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https:///login [following]
--03:40:53--  https:///login
           => `login'
Resolving ... done.
Connecting to [IP2]:443... connected.

Unable to establish SSL connection.

Unable to establish SSL connection.

Any ideas??
Title: Re: Problem with wget and OpenSSL support
Post by: SilvrDrgn on February 11, 2003, 12:14:08 AM
No ideas from anyone?
Title: Re: Problem with wget and OpenSSL support
Post by: Rigger on February 11, 2003, 12:33:03 AM
Maybe you should see if cURL (http://amiga.sourceforge.net/cURL.htm) would work better for your application.

Title: Re: Problem with wget and OpenSSL support
Post by: SilvrDrgn on February 11, 2003, 01:36:03 AM
I will look into that.  Thank you for the suggestion.