here\'s i mode code! when i send http request from firefox it work fine! but when i try https firefox reply with this:
An error occurred during a con
An HTTP proxy normally does not make the HTTPS request itself (unless it's specifically designed to make an "official" Man-In-The-Middle attack).
HTTP clients (including browsers) use the HTTP CONNECT
method to tell the proxy server to forward the entire HTTPS request (effectively, the SSL/TLS) tunnel to the target HTTPS server.
When you get a CONNECT
request on your proxy (say CONNECT host.example.org:443
), you should make a direct TCP connection to host.example.org:443
and relay its content (both ways) to the browser, without alteration.