delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/06/07:02:02

X-Spam-Check-By: sourceware.org
Message-ID: <46669409.B6437C37@dessent.net>
Date: Wed, 06 Jun 2007 04:01:29 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: need working cygwin tool for https download
References: <BAY108-F1E601C971469D58E23D3DBE270 AT phx DOT gbl>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019