Mail Archives: cygwin/2007/06/06/08:37:27
Thanks- I was hoping lynx would work as I use that for everything else.
Apparently curl was just redirecting to a login screen. If I post to their
form I can at least get the bad user/pw screen so it seems that
curl, and for that matter wget, do seem to just fine. Now, I just need
to figure out how to put the form data together and deal with session
things.
>From: Brian Dessent <brian AT dessent DOT net>
>Reply-To: cygwin AT cygwin DOT com
>To: cygwin AT cygwin DOT com
>Subject: Re: need working cygwin tool for https download
>Date: Wed, 06 Jun 2007 04:01:29 -0700
>
>Mike Marchywka wrote:
>
> > curl --user-agent "Mozilla/4.0" --anyauth -d "logon=xxx"
> > -d "password=xxxc" -c cookies -L
>"https://www.affymetrix.com/analysis/netaf
> > fx/fullrecord.affx?pk=CANINE%3A1592474_AT"
>
>And what is the exact error or failure? curl works just fine with
>https, you can verify that your installation works with a site that has
>a known-good cert, such as:
>
>$ curl -o /dev/null https://login.yahoo.com/
>
>If you want to use https with a command line tool you need to determine
>who signed the site's certificate and if that CA's cert is included in
>the stock CA-bundle which for curl is
>/usr/share/curl/curl-ca-bundle.crt. If it's not in the bundle you need
>to specify it with --cacert or --capath. Read the man page and don't be
>confused by --cert which is something very different and unrelated
>unless you yourself have a peer cert and the website expects it (and if
>you don't know, you don't.)
>
>If you can't do any of this, or the site is using self-signed/snake oil,
>then you can use -k which means don't verify the site's certificate.
>The connection is still encrypted and cannot be snooped by third
>parties, but there's no assurance that the party you are talking to is
>who them claim to be.
>
>Brian
>
>--
>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>Problem reports: http://cygwin.com/problems.html
>Documentation: http://cygwin.com/docs.html
>FAQ: http://cygwin.com/faq/
>
_________________________________________________________________
Like puzzles? Play free games & earn great prizes. Play Clink now.
http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -