Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm setting up a Squid forward proxy and I'm wondering if I could configure Squid in such a way that the connection from my web browser to squid is https regardless of whether the connection from squid to the destination website is http or https. In other words, I want my connection from my web browser to my forward proxy to be encrypted even though I'm just surfing normal http website through that proxy.

Can it be done?

share|improve this question
Yes, it is possible. – Holger Just Jun 22 '11 at 15:13
how can i do that? are there any information/resource for that? – Twisted Whisper Jun 22 '11 at 15:26
Don't really know Squid that deeply, but something involving https_port... – Holger Just Jun 22 '11 at 16:31

Squid 3.0 has https_port configuration directive. See this configuration example on Squid Wiki for details.

share|improve this answer
The config example only covers the "reverse proxy" case. Will it work for a forward proxy as well? – the-wabbit Jun 22 '11 at 21:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.