I tried do this: http://roberts.bplaced.net/index.ph...oxy-server/squid-transparent-proxy-http-https
So I am successfully generate SSL cert, and added it to FireFox, redirect 443 to 3128, and I Have this error:
Its mean if I must do point 4. "instal our DNS"???? ;/
My current SQUID conf:
Any one know what is need to do for fixed it?
And on this way SQUID will be encrypting packets again???
Thanks, and pls do not tell me about the risk. Everything is working on localhost.
So I am successfully generate SSL cert, and added it to FireFox, redirect 443 to 3128, and I Have this error:
Code:
Your connection is not secure
The owner of www.google.com has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.
This site uses HTTP Strict Transport Security (HSTS) to specify that Firefox may only connect to it securely. As a result, it is not possible to add an exception for this certificate.
Learn more…
Report errors like this to help Mozilla identify and block malicious sites
www.google.com uses an invalid security certificate.
The certificate is only valid for 172.217.18.68
Error code: SSL_ERROR_BAD_CERT_DOMAIN
https://www.google.com/search?q=sfsdfsdfsd&ie=utf-8&oe=utf-8&client=firefox-b-ab Unable to communicate securely with peer:
requested domain name does not match the server’s certificate.
HTTP Strict Transport Security: true HTTP Public Key Pinning: true Certificate chain:
Code:
requested domain name does not match the server’s certificate.
Its mean if I must do point 4. "instal our DNS"???? ;/
My current SQUID conf:
Code:
acl localnet src 192.168.0.0/16
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
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 deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
https_port 3128 intercept ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/usr/local/etc/squid/ssl_cert/myca.pem key
#always_direct allow all
ssl_bump server-first all
#sslproxy_cert_error deny all
#sslproxy_flags DONT_VERIFY_PEER
sslcrtd_program /usr/lib/squid/ssl_crtd -s /var/lib/ssl_db -M 4MB
sslcrtd_children 8 startup=1 idle=1
cache_peer localhost parent 20001 0 round-robin
Any one know what is need to do for fixed it?
And on this way SQUID will be encrypting packets again???
Thanks, and pls do not tell me about the risk. Everything is working on localhost.
Last edited by a moderator: