curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Configuring a HttpsProxyTunnel

From: Gael GUEGAN via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 5 Dec 2019 18:03:07 +0000

Hello all,

I am new in using the libcurl, and I would like to make a secured tunnel through a proxy.
But before, I would like to be sure that it is possible to make one using libcurl.

I have seen that it exists the option CURLOPT_HTTPPROXYTUNNEL.
Would it be sufficient to configure curl with the following options too make my tunnel secure ?

  * CURLOPT_HTTPPROXYTUNNEL = 1L
  * CURLOPT_PROXYTYPE=CURLPROXY_HTTPS
  * CURLOPT_PROXY_SSLCERT
  * CURLOPT_PROXY_SSLCERTTYPE
  * CURLOPT_PROXY_SSLKEY
  * CURLOPT_PROXY_SSLKEYTYPE
  * CURLOPT_PROXY_CAPATH
  * CURLOPT_PROXY_SSL_CIPHER_LIST

Are all these options enough ?

Best regards,
Gael GUEGAN

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-12-05