站长网 系统 windows环境中如何用squid代理https ssl

windows环境中如何用squid代理https ssl

这个其实跟配置http代理也差不多,我之前是因为没有使用支持ssl的squid版本,所以反复折腾都不见效! 首先得检查你正在使用的squid版本是否是支持ssl的,主要看squid/sbin/ssleay32.dll文件是否存在,如果没有此文件那就得去换个支持ssl的squid版本了。 我

 这个其实跟配置http代理也差不多,我之前是因为没有使用支持ssl的squid版本,所以反复折腾都不见效!
  首先得检查你正在使用的squid版本是否是支持ssl的,主要看squid/sbin/ssleay32.dll文件是否存在,如果没有此文件那就得去换个支持ssl的squid版本了。
  我这里就只提供个最简单的例子:
  复制代码 代码如下:
  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 Safe_ports port 443  # https
  acl Safe_ports port 70  # 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

本文来自网络,不代表站长网立场,转载请注明出处:https://www.tzzz.com.cn/html/fuwuqi/xt/2021/1217/39905.html

作者: dawei

【声明】:站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。
联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部