Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does the communication with an HTTPS Web Proxy Work?

I wish to setup an HTTPS proxy and have HTTP clients send requests securely to the proxy. For example, a browser can initiate a HTTP GET request which should be an encrypted request to the proxy and the proxy then removes the encryption and then passes the request to the end-site. Squid proxy can be set up to work like this (info here).

I have set up such a HTTPS enabled proxy. But I am unable to write my own HTTP clients to work with it. The same link above mentions that chrome is the only browser that supports such a proxy. I tested Chrome and it was able to work with such an HTTPS proxy.

I wish to gain an understanding of how such a proxy works so that I can write my own HTTP clients.

like image 803
MediumOne Avatar asked May 16 '26 01:05

MediumOne


1 Answers

As I understand it, it's a connection to regular HTTP proxy BUT this connection is made over TLS. The client indeed needs to support this scheme explicitly and existing clients as-is can't be tuned up (without extra coding).

like image 87
Eugene Mayevski 'Callback Avatar answered May 19 '26 02:05

Eugene Mayevski 'Callback



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!