cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Certificate required despite -k

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 17 Oct 2009 21:44:36 +0200 (CEST)

On Thu, 15 Oct 2009, Michel RIGAUD wrote:

> curl.exe ....<proxy>.... -k....https://website...
>
> The proxy returns to me the following message "Your request contacted a host
> which presented an expired or Invalid certificate"

Really? Then your proxy is doing lots of stuff it shouldn't.

> - Why -k is not preventing this message?

Because -k controls what (lib)curl does, not what the proxy obviously decides
to do on its own.

> - -k is syntax correct?

Yes

> Should -k be in front of <proxy>? does the position matter?

no and no

> - Or is that the proxy that is set up to block any data to transfer when
> certificate no valid?

The proxy is acting out of its jurisdiction and why it does that is beyond
what I know.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-17