<div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;line-height:19.5px">I want to limit the bandwidth for youtube, so I want to intercept https connections. I followed several tutorials and can not. Could someone give me a hand ?? Thanks to all.</p><div>this is my squid.conf</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:1em;padding:5px;border:0px;font-size:13px;width:auto;max-height:600px;overflow:auto;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;word-wrap:normal;color:rgb(36,39,41);background-color:rgb(239,240,241)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;white-space:inherit"># Squid listen Port
http_port <a href="http://192.168.1.215:3128">192.168.1.215:3128</a> ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB key=/etc/squid/example.com.private cert=/etc/squid/example.com.cert
# SSL Bump Config
always_direct allow all
ssl_bump server-first all
sslproxy_cert_error deny all
sslproxy_flags DONT_VERIFY_PEER
sslcrtd_program /usr/lib64/squid/ssl_crtd -s /var/lib/ssl_db -M 4MB sslcrtd_children 8 startup=1 idle=1</code></pre>I import the example.com.cert to the webbrowser and then any web https i go i get "The proxy server is refusing connections". if not https go well.</div><div><br></div><div>this is access.log:<pre style="margin-top:0px;margin-bottom:1em;padding:5px;border:0px;width:auto;max-height:600px;overflow:auto;word-wrap:normal"><code><pre style="color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;margin:0px 0px 1em;padding:5px;border:0px;white-space:inherit;width:auto;max-height:600px;overflow:auto;word-wrap:normal;background-color:rgb(239,240,241)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;white-space:inherit">192.168.1.172 TCP_HIT/200 52543 GET <a href="http://www.silencio.com.ar/wp-content/uploads/2016/07/AHJ8239-540x386.jpg">http://www.silencio.com.ar/wp-content/uploads/2016/07/AHJ8239-540x386.jpg</a> - HIER_NONE/- image/jpeg
192.168.1.172 TCP_HIT/200 49912 GET <a href="http://www.silencio.com.ar/wp-content/uploads/2016/07/strokes-2001-adentro-540x386.jpg">http://www.silencio.com.ar/wp-content/uploads/2016/07/strokes-2001-adentro-540x386.jpg</a> - HIER_NONE/- image/jpeg
192.168.1.172 TCP_HIT/200 43804 GET <a href="http://www.silencio.com.ar/wp-content/uploads/2016/07/ArcticMonkeys012-540x386.jpg">http://www.silencio.com.ar/wp-content/uploads/2016/07/ArcticMonkeys012-540x386.jpg</a> - HIER_NONE/- image/jpeg
192.168.1.172 TCP_DENIED/200 0 CONNECT <a href="http://www.google-analytics.com:443">www.google-analytics.com:443</a> - HIER_NONE/- -
192.168.1.172 TCP_MISS/301 807 GET <a href="http://www.youtube.com/">http://www.youtube.com/</a> - HIER_DIRECT/<a href="http://64.233.186.91">64.233.186.91</a> text/html
192.168.1.172 NONE/200 0 CONNECT <a href="http://www.youtube.com:443">www.youtube.com:443</a> - HIER_DIRECT/<a href="http://64.233.186.91">64.233.186.91</a> -
192.168.1.172 NONE/200 0 CONNECT <a href="http://blocklist.addons.mozilla.org:443">blocklist.addons.mozilla.org:443</a> - HIER_DIRECT/<a href="http://52.35.149.230">52.35.149.230</a> -</code></pre></code></pre></div></div>