|
|
|
|
|
by apple_innocent
1981 days ago
|
|
"Where is the encryption being added?" It is being added by the proxy server listening on the loopback which connects to the remote website. Browser connects to forward proxy on port 80, forward proxy (compiled with SSL library) connects to target IP on port 443. This is how one can, e.g, use clients that are not SSL-enabled to access websites, etc. that require SSL. For example, if forward proxy is listening on 127.0.0.1:80, we can make an encrypted connection to example.com using original *hobbit netcat which does not support SSL. echo -e 'GET / HTTP/1.1\r\nHost: example.com\r\nConnection: close\r\n\r\n" |nc -vvn 127.0.0.1 80
It is probably more popular to use stunnel for this purpose instead of a forward proxy. |
|