How to set up a https foward proxy for curl
问题 I am facing one problem, and not get solution on google I try to use curl to visit a https website behind a proxy but fail. It is success without proxy or visit without ssl. Then I deployed a tcp proxy (got from https://github.com/kklis/proxy), and set enviroment export https_proxy=127.0.0.1:443 visit https://www.baidu.com, I just got connection aborted error Here is how I run proxy: ./proxy -l 8111 -h www.baidu.com -p 443 And set proxy environment: export https_proxy=127.0.0.1:8111 Run curl: