Welcome, Guest. Please login or register.

Author Topic: Problem with wget and OpenSSL support  (Read 4185 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SilvrDrgnTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1215
    • Show only replies by SilvrDrgn
    • http://mikerye.homeip.net
Problem with wget and OpenSSL support
« 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??
Michael
 

Offline Colmiga

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 105
    • Show only replies by Colmiga
    • http://colmiga.org
Re: Problem with wget and OpenSSL support
« Reply #1 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.
Sam460ex: PPC460ex/1GHz, 2GB RAM, 30GB SSD via on-board SATA-2, DVD-RW via USB, Radeon 5450 1GB PCIe, Catweasel Mk4 PCI, A4000 KB and Competition Pro CD32 Pad.
A4000D: 030/25MHz, 16MB RAM, Indivision Mk1, 8GB CF as HDD and IDE CD-ROM.

Amiga user since 1992.
 

Offline SilvrDrgnTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1215
    • Show only replies by SilvrDrgn
    • http://mikerye.homeip.net
Re: Problem with wget and OpenSSL support
« Reply #2 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 ???
Michael
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show only replies by KennyR
    • http://wrongpla.net
Re: Problem with wget and OpenSSL support
« Reply #3 on: February 08, 2003, 04:21:55 PM »
if it's a *ix port, it will generally need GCC to compile.
 

Offline dcr8520

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 107
    • Show only replies by dcr8520
    • http://Amiga.SourceForge.net
Re: Problem with wget and OpenSSL support
« Reply #4 on: February 08, 2003, 04:50:11 PM »
you have tryed my precompiled version? it work fine for SSL. :-)
 

Offline SilvrDrgnTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1215
    • Show only replies by SilvrDrgn
    • http://mikerye.homeip.net
Re: Problem with wget and OpenSSL support
« Reply #5 on: February 09, 2003, 03:26:55 AM »
@ dcr8520,
Where do I get your version of it??  Thank you in advance!
Michael
 

Offline dcr8520

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 107
    • Show only replies by dcr8520
    • http://Amiga.SourceForge.net
Re: Problem with wget and OpenSSL support
« Reply #6 on: February 09, 2003, 02:40:15 PM »
erm.. from my [x WWW] site  :-o

                ||
                \/
 

Offline SilvrDrgnTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1215
    • Show only replies by SilvrDrgn
    • http://mikerye.homeip.net
Re: Problem with wget and OpenSSL support
« Reply #7 on: February 09, 2003, 02:59:04 PM »
Looking.... sorted.... thanks!!
Michael
 

Offline SilvrDrgnTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1215
    • Show only replies by SilvrDrgn
    • http://mikerye.homeip.net
Re: Problem with wget and OpenSSL support
« Reply #8 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??
Michael
 

Offline SilvrDrgnTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1215
    • Show only replies by SilvrDrgn
    • http://mikerye.homeip.net
Re: Problem with wget and OpenSSL support
« Reply #9 on: February 11, 2003, 12:14:08 AM »
No ideas from anyone?
Michael
 

Offline Rigger

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 169
    • Show only replies by Rigger
Re: Problem with wget and OpenSSL support
« Reply #10 on: February 11, 2003, 12:33:03 AM »
Maybe you should see if cURL would work better for your application.

 

Offline SilvrDrgnTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1215
    • Show only replies by SilvrDrgn
    • http://mikerye.homeip.net
Re: Problem with wget and OpenSSL support
« Reply #11 on: February 11, 2003, 01:36:03 AM »
I will look into that.  Thank you for the suggestion.
Michael