In Part 3 of our "Building an HTTP(S) Proxy Server from Scratch" series, we are going to implement HTTPS Tunneling. In the previous video, we successfully built a basic HTTP relay. But what happens when your browser tries to load a secure, encrypted website over HTTPS?
Plain text relays break, and that’s where HTTPS Tunneling comes into play.
In this video, we break down exactly how proxies handle encrypted traffic without breaking the SSL/TLS handshake.
What we cover in this video:
The Architecture Flow: A complete diagrammatic breakdown of the HTTP CONNECT method. You will see how a browser asks the proxy to act as a blind "bridge", establishing a raw TCP tunnel directly to the target website.
The Coding Implementation: We jump straight into Python using nothing but raw sockets and threading. We build a bi-directional data bridge capable of handling simultaneous upload and download streams using low-level connection management techniques (socket.shutdown vs socket.close).
By the end of this tutorial, our custom proxy server will seamlessly load fully encrypted HTTPS websites!
On this page of the site you can watch the video online How to Build HTTP(S) Proxy Server from Scratch Using Python Socket | Part 3: HTTPS Tunneling with a duration of hours minute second in good quality, which was uploaded by the user ReddyForTech 24 May 2026, share the link with friends and acquaintances, this video has already been watched 34 times on youtube and it was liked by 2 viewers. Enjoy your viewing!