cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl command line proxy

From: Dima Tisnek <dimaqq_at_gmail.com>
Date: Tue, 3 Dec 2013 13:40:22 +0100

I'm trying to test if curl or libcurl can do SSL over SSL:

[dima@bmg ~]$ HTTPS_PROXY="https://localhost:4433" curl -k https://google.com
curl: (56) Proxy CONNECT aborted

however when I sniff port 4433 I can see client->proxy request comes
in plain text, that is either curl does not support https traffic over
https proxy, or misinterprets "https" url scheme in proxy definition.

Here's another funny case:

[dima@bmg ~]$ ALL_PROXY="https://localhost:4433" curl -k https://google.com
curl: (7) Failed connect to google.com:4433; Connection refused

somehow curl picked the port from proxy and applied it to target url???

Would like an authoritative answer :)

d.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-03