Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
run stunnel in front of the HTTP proxy to make you a HTTPS proxy
#!/bin/sh
cat <<EOF | stunnel -fd 0
cert = $HOME/src/curl/tests/stunnel.pem
pid = `pwd`/stunnel.pid
foreground = yes
output = https-proxy.log
[https-proxy]
connect = 127.0.0.1:80
accept = 127.0.0.1:8843
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment