cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl and apt-get update

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 5 Jul 2007 16:40:41 -0700

On Thu, Jul 05, 2007 at 03:14:28PM -0700, Alan Ezust wrote:
> Here is a strange thing: if I apt-get update over http:// and then
> switch to https:// in my /etc/sources, apt-get upgrade works fine
> (because the package list is up to date). That is, apt-get install
> over https can get the packages that it needs and install them. The
> lockups I am experiencing are specific to apt-get update, not upgrade.
> Why would it work when it's getting the debs but not when it is
> downloading the package list?

Could it be that apt-get is actually always ignoring your certificates,
but is setting CURLOPT_SSL_VERIFYHOST in one case but clearing it in
another so that the transfer works in that one case regardless?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-07-06