ResidentialIPs.org

Glossary Proxy types

HTTPS proxy

By the ResidentialIPs Editorial TeamUpdated

HTTPS proxy: An HTTPS proxy is either an HTTP proxy that can tunnel HTTPS traffic with CONNECT, or a proxy you connect to over an encrypted TLS connection. Providers use the term for both.

Also called: TLS proxy, secure web proxy, SSL proxy

Key takeaways

  • In most product listings, “HTTPS proxy” means an HTTP proxy that supports CONNECT tunnels.
  • Strictly, an HTTPS proxy accepts a TLS connection from the client, encrypting the hop to the proxy.
  • With either kind, the content of HTTPS sites is encrypted end to end between you and the website.
  • A TLS connection to the proxy also hides your proxy credentials and target host from your local network.
  • Support for TLS-to-proxy varies by tool, so check before relying on it.

Meaning 1: HTTP proxy with CONNECT

When a provider advertises “HTTP/HTTPS proxies”, it usually means a standard HTTP proxy that supports the CONNECT method. You connect to the proxy over plain TCP, send CONNECT example.com:443, and the proxy opens a tunnel. Your browser then performs the TLS handshake with the website through that tunnel. The page content is encrypted. What is not encrypted is the first hop: your CONNECT line (which names the host) and any Proxy-Authorization header.

Meaning 2: TLS to the proxy

A true HTTPS proxy wraps the connection between client and proxy in TLS. The proxy URL starts with https://, for example https://proxy.example:443. Now even the CONNECT line and credentials are encrypted, so someone on your local network sees only that you talk to the proxy. Inside that encrypted link, HTTPS traffic to websites is encrypted again end to end.

Comparison

HTTP proxy with CONNECTTLS proxy
Proxy URL schemehttp://https://
Website content encryptedYesYes
Target host hidden from local networkNoYes
Credentials encryptedNo (Basic auth is plain)Yes
Tool supportUniversalGood in curl and modern browsers, uneven elsewhere

TLS interception proxies

A third, different thing is a proxy that decrypts HTTPS, sometimes called an SSL inspection proxy. It presents its own certificate to your browser and opens a separate TLS connection to the website. This only works if your device trusts the proxy’s root certificate. Companies use it to scan traffic, and debugging tools like mitmproxy use it for development. Never install a commercial proxy provider’s root certificate unless you understand exactly why; it lets the provider read your traffic. See man-in-the-middle.

How to set up TLS to the proxy

When the connection to the proxy itself is encrypted, the proxy URL starts with https:// rather than http://:

curl -x https://USER:[email protected]:443 https://api.ipify.org

Support varies. curl, recent versions of Chrome and Firefox (through PAC files or policies) and some libraries handle it, but many tools only understand http:// proxies. Your provider has to offer a TLS listener as well. When it works, the proxy credentials and the destination hostname in the CONNECT request are hidden from anyone watching your local network.

When the extra encryption matters

SituationPlain HTTP proxy connectionTLS connection to the proxy
Untrusted Wi-Fi between you and the proxyCredentials and destination hostnames visibleHidden
Server-to-proxy traffic inside a datacenterUsually acceptableOptional
Corporate networks that inspect trafficVisible to the networkHidden from casual inspection

Page content to HTTPS websites is encrypted end to end in both cases. The difference is only the outer layer to the proxy.

Certificate errors and what they mean

If your browser shows certificate warnings for every site when a proxy is on, something is decrypting your traffic. On a work device that is usually a corporate TLS inspection proxy with its own root certificate. On a personal device using a commercial proxy, it is a red flag: a normal proxy only tunnels HTTPS and never needs to present its own certificate for other people’s websites. Stop using it and check your device for unexpected root certificates.

Frequently asked questions

Do I need an HTTPS proxy to visit HTTPS sites?

No. A normal HTTP proxy with CONNECT support tunnels HTTPS traffic and the content stays encrypted.

Is an HTTPS proxy more secure than an HTTP proxy?

A TLS proxy additionally encrypts the hop between you and the proxy, protecting your credentials and target hosts from your local network. Website content is encrypted either way.

Why do I get certificate errors through a proxy?

Either the proxy is intercepting TLS with a certificate your device does not trust, or you configured an http proxy as https:// (or the reverse).

Is an HTTPS proxy the same as a proxy with SSL support?

Providers use both phrases loosely. Most mean the proxy supports CONNECT so you can visit HTTPS sites. Only some mean the link to the proxy is itself encrypted. Ask which one they mean.

Which port does an HTTPS proxy use?

Providers commonly use 443 or a custom port for TLS connections to the proxy. Plain HTTP proxies that support CONNECT often use 8080, 3128 or a provider-specific port.

Sources and further reading

Browse all 40 glossary terms Markdown version