You can't, not unless you man in the middle it. In this case there will actually be two ssl sessions going on. One between the proxy server and say gmail and the other between the client and the proxy server.
Currently have a CentOS 5.2 server running DansGuardian. The server has one network interface. Added a rule to IPTables to redirect all Port 80 traffic to 8080 and Dans' passes it on to Squid and it works great. Not sure how to handle SSL traffic on port 443, though. It's getting dropped. I understand that I can't redirect port 443 as it could technically act as a man-in-the-middle, which would not be kosher. Are there any reasonably straight-forward solutions that would allow the SSL traffic to proceed?
I know there are more involved solutions, as well as more expensive solutions, but this is what we have for now. Hoping for a sweet workaround...
Thanks much, Susan Briere
Technical Support, RNESU