Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

can not proxy https request #24

Open
simonisacoder opened this issue Feb 19, 2020 · 0 comments
Open

can not proxy https request #24

simonisacoder opened this issue Feb 19, 2020 · 0 comments

Comments

@simonisacoder
Copy link

proxy http request, normal

but proxy https request ,eg
curl --insecure -v -x 'https://100.95.7.219:10115' https://www.google.com

  • About to connect() to proxy 100.95.7.219 port 10115 (#0)
  • Trying 100.95.7.219... connected
  • Connected to 100.95.7.219 (100.95.7.219) port 10115 (#0)
  • Establish HTTP proxy tunnel to www.baidu.com:443

CONNECT www.baidu.com:443 HTTP/1.1
Host: www.baidu.com:443
User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
Proxy-Connection: Keep-Alive

  • Proxy CONNECT aborted
  • Closing connection #0
    curl: (56) Proxy CONNECT aborted

it seems that the proxy server can not establish connect with the target server
i don't know wherther it is caused by ssl certificate
but i can curl https://google.com in the proxy server ,
so i don't know what's the problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant