Squid is an open-source proxy and Web-caching server. Squid sits between a computer and the Internet, forwarding traffic, and can be used in a variety of modes. If Squid is being used as a proxy with no accelerated caching, Squid passes encrypted SSL traffic directly between the computer and Web server without understanding it. If you enable SSL support on a Squid server being used as a Web accelerator, Squid can understand the encrypted SSL traffic and cache and serve data locally to computers that request it, speeding up requests for content after the first one. For example, if one computer downloads an image over SSL, Squid can save that image on the local Squid server and the next time a computer asks for that image, Squid can serve the image directly to the computer without downloading it again from the Internet.
- Skill level:
Other People Are Reading
Download a version of Squid built with SSL support; not all versions of Squid contain SSL support. If you're compiling Squid yourself, type "./configure --enable-ssl" instead of "./configure" before typing "make install".
Open the "/etc/squid/squid.conf" configuration file on Linux and other Unix-like operating systems or the "C:\squid\etc\squid.conf" configuration file on Windows in your favourite text editor.
Type "https_port 443 cert=/usr/ssl/cert.pem key=/usr/ssl/key.pem defaultsite=website.com" onto a new line in the squid.conf file, replacing "443" with a desired port for SSL traffic, "/user/ssl/cert.pem" with the path to your SSL certificate, "/usr/ssl/key.pem" with the path to your SSL private key, and "website.com" with the name of your website.
Save the squid.conf configuration file in the text editor.
Restart the Squid server by typing "sudo /etc/init.d/squid restart" on Ubuntu or the similar appropriate command for your operating system into a terminal and pressing "Enter."
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for