jech / polipo

The Polipo caching HTTP proxy
http://www.pps.jussieu.fr/~jch/software/polipo/
MIT License
1.8k stars 353 forks source link

Https proxy not working #105

Closed Tahakun closed 6 years ago

Tahakun commented 6 years ago

I am using polipo with tor, on Debian 9 when i try http proxy it works curl --proxy http://127.0.0.1:8123 https://api.ipify.org but when i try the https proxy it does not work curl --proxy https://127.0.0.1:8123 https://api.ipify.org -v

* Rebuilt URL to: https://api.ipify.org/
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to (nil) (127.0.0.1) port 8123 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* Unknown SSL protocol error in connection to 127.0.0.1:8123 
* Curl_http_done: called premature == 0
* Closing connection 0
curl: (35) Unknown SSL protocol error in connection to 127.0.0.1:8123

here is my polipo config file

logSyslog = true
logFile = /var/log/polipo/polipo.log

allowedClients = 127.0.0.1 # Expose your network (modify accordingly)

socksParentProxy = "localhost:9050"
socksProxyType = socks5

proxyAddress = "0.0.0.0"    # IPv4 only

diskCacheRoot = "
jech commented 6 years ago

Polipo doesn't do HTTPS proxies. Sorry.