A method of using Squid proxy HTTPS (SSL) _win Server in Windows environment

Source: Internet
Author: User
Tags gopher squid proxy

This is actually the same as configuring the HTTP proxy, I did not use the support of the Squid version of SSL, so repeatedly toss does not work!

First have to check if you are using the Squid version is to support SSL, mainly to see if the Squid\sbin\ssleay32.dll file exists, if there is no this file that will have to switch to support the squid version of SSL.

I'll just provide the simplest example here:

Copy Code code as follows:

ACL all src 0.0.0.0/0.0.0.0
ACL manager Proto Cache_object
ACL localhost src 127.0.0.1/255.255.255.255
ACL To_localhost DST 127.0.0.0/8
ACL ssl_ports port 443
ACL safe_ports Port # http
ACL safe_ports Port # FTP
ACL safe_ports Port 443 # HTTPS
ACL safe_ports Port # Gopher
ACL safe_ports Port 210 # WAIS
ACL safe_ports Port 1025-65535 # unregistered ports
ACL safe_ports Port 280 # HTTP-MGMT
ACL safe_ports Port 488 # gss-http
ACL safe_ports Port 591 # FileMaker
ACL safe_ports Port 777 # multiling HTTP
ACL Connect method Connect

Http_access allow manager localhost
Http_access Deny Manager
Http_access Deny! Safe_ports
Http_access Deny CONNECT! Ssl_ports

Http_access Allow all

Icp_access Allow all

Https_port 443 accel Cert=c:/certs/server.pem Key=c:/certs/server.pem vhost

Cache_peer 192.168.1.13 Parent 443 0 no-query originserver login=pass SSL Sslflags=dont_verify_peer name=kensite

Cache_peer_domain Kensite ken.01h.net

Hierarchy_stoplist Cgi-bin?

Access_log C:/squid/var/logs/access.log Squid

ACL QUERY Urlpath_regex cgi-bin \?
Cache Deny QUERY

Refresh_pattern ^ftp:1440 20% 10080
Refresh_pattern ^gopher:1440 0% 1440
Refresh_pattern. 0 20% 4320

ACL Apache Rep_header Server ^apache
Broken_vary_encoding Allow Apache

Visible_hostname 01h.net

Coredump_dir C:/squid/var/cache

Note: "C:/certs/server.pem" is a file that can be found in the software-related directory that provides SSL services, and the extension may be. CRT,. Key, I'm here. Pem is an example of VISUALSVN.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.