X-Spam-Check-By: sourceware.org Message-ID: X-Sender: marchywka AT hotmail DOT com In-Reply-To: <46669409.B6437C37@dessent.net> From: "Mike Marchywka" To: cygwin AT cygwin DOT com Subject: Re: need working cygwin tool for https download Date: Wed, 06 Jun 2007 08:36:51 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 >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/