cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: connection to proxy over SSL (HTTPS)

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 1 Oct 2016 10:05:18 +0200

On Fri, Sep 30, 2016 at 03:46:21PM +0400, Dmitry Bakshaev wrote:
> some browsers: firefox/seamonkey, chrome/chromium supports secure connection to
> HTTP proxy server over HTTPS. may also require client certificate for
> authentification.
>
> http://www.chromium.org/developers/design-documents/secure-web-proxy
> https://bugzilla.mozilla.org/show_bug.cgi?id=378637
> http://www.squid-cache.org/Doc/config/https_port/
>
> HTTPS_PROXY set proxy for HTTPS-server, not HTTPS-proxy.
>
> curl -x https://proxy-server ...
> curl: (7) Unsupported proxy scheme for https://proxy-server
>
> how to use curl in this scheme?

curl doesn't support this yet, but there is a branch in git (HTTPS-proxy) that
has this support. The plan is to eventually merge this into the master branch,
but I don't know the time frame for that. In the meantime, if you're willing to
test that branch, it should help speed up the process.

>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-10-01